File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
SQLite.CodeFirst.Console/Entity Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ public class Player : IEntity
1212 [ MaxLength ( 50 ) ]
1313 public string FirstName { get ; set ; }
1414
15- [ Index ( "IX_LN " ) ]
15+ [ Index ( "IX_LastName_LN " ) ] // Test for named index
1616 [ MaxLength ( 50 ) ]
1717 public string LastName { get ; set ; }
1818
Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ public class Stadion
77 {
88 [ Key ]
99 [ Column ( Order = 1 ) ]
10- [ Index ( "IX_Main " , Order = 2 ) ]
11- public string Name { get ; set ; }
10+ [ Index ( "IX_Stadion_Main " , Order = 2 ) ] // Test for combined, named index
11+ public string Name { get ; set ; }
1212
1313 [ Key ]
1414 [ Column ( Order = 2 ) ]
15- [ Index ( "IX_Main " , Order = 1 ) ]
15+ [ Index ( "IX_Stadion_Main " , Order = 1 ) ] // Test for combined, named index
1616 public string Street { get ; set ; }
1717
1818 [ Key ]
You can’t perform that action at this time.
0 commit comments