Пример #1
1
 protected override void OnModelCreating(Enigma.Modelling.ModelBuilder builder)
 {
     builder.Entity<Car>()
         .Key(c => c.RegistrationNumber)
         .Index(c => c.Nationality)
         .Index(c => c.EstimatedValue)
         .Index(c => c.EstimatedAt)
         .Index(c => c.Engine.HorsePower);
 }