Skip to content

Commit 52722ff

Browse files
new link
1 parent 6a99d29 commit 52722ff

File tree

3 files changed

+5
-15
lines changed

3 files changed

+5
-15
lines changed

Magic.IndexedDb/LinqTranslation/Models/LinqToIndedDbQuery.cs

-12
This file was deleted.

MagicIndexDbWiki/Fundamentals/P2-How-To-Connect-Universal-Layer.md

Whitespace-only changes.

TestWasm/Pages/Home.razor

+5-3
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,13 @@
164164
await personQuery.ClearTable();
165165

166166
// Choose an assigned database to Person with strictly typed enforced connected Db's.
167-
//IMagicQuery<Person> employeeDbQuery = await _MagicDb.Query<Person>(x => x.Databases.Client);
167+
IMagicQuery<Person> employeeDbQuery = await _MagicDb.Query<Person>(x => x.Databases.Client);
168168

169169
// // Highly not suggested, but you're allowed to target databases not assigned to the Person table
170-
// IMagicQuery<Person> animalDbQuery = await _MagicDb.Query<Person>(IndexDbContext.Animal);
170+
IMagicQuery<Person> animalDbQuery = await _MagicDb.Query<Person>(IndexDbContext.Animal);
171171

172172
// // DO NOT DO THIS! I only am allowing this for maximum flexibility but this is very dangerous.
173-
// IMagicQuery<Person> unassignedDbQuery = await _MagicDb.QueryOverride<Person>("DbName", "SchemaName");
173+
IMagicQuery<Person> unassignedDbQuery = await _MagicDb.QueryOverride<Person>("DbName", "SchemaName");
174174

175175
//await manager.ClearTableAsync<Person>();
176176
@@ -256,6 +256,8 @@
256256

257257
allPeople = await personQuery.ToListAsync();
258258

259+
260+
259261
List<Person> people = await personQuery.ToListAsync();
260262
StateHasChanged();
261263

0 commit comments

Comments
 (0)