Skip to content

Commit cf99c8e

Browse files
committed
I dont get this yet
1 parent 6159dc9 commit cf99c8e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

E2eTestWebApp/Models/Person.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,11 @@ public class Person : MagicTableTool<Person>, IMagicTable<Person.DbSets>
1313
{
1414
public List<IMagicCompoundIndex> GetCompoundIndexes() =>
1515
new List<IMagicCompoundIndex>() {
16-
CreateCompoundIndex(x => x.TestIntStable2, x => x.Name)
16+
CreateCompoundIndex(x => x.TestIntStable, x => x.Name)
1717
};
1818

1919
// Endobject when compund key contains two or more keys
20-
public IMagicCompoundKey GetKeys() =>
21-
CreateCompoundKey(x => x.TestIntStable2, x => x.TestIntStable);
20+
public IMagicCompoundKey GetKeys() => CreateCompoundKey(x => x.TestIntStable);
2221

2322
public string GetTableName() => "Person";
2423
public IndexedDbSet GetDefaultDatabase() => IndexDbContext.Client;

0 commit comments

Comments
 (0)