We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 433c1da commit 31ec481Copy full SHA for 31ec481
SQLite.CodeFirst.Console/Entity/Player.cs
@@ -8,9 +8,11 @@ public class Player : IEntity
8
{
9
public int Id { get; set; }
10
11
+ [Index] // Automatically named 'IX_FirstName'
12
[MaxLength(50)]
13
public string FirstName { get; set; }
14
15
+ [Index("IX_LN")]
16
17
public string LastName { get; set; }
18
SQLite.CodeFirst.Console/Entity/Stadion.cs
@@ -7,10 +7,12 @@ public class Stadion
7
[Key]
[Column(Order = 1)]
+ [Index("IX_Main", Order = 2)]
public string Name { get; set; }
[Column(Order = 2)]
+ [Index("IX_Main", Order = 1)]
public string Street { get; set; }
0 commit comments