Id or <Entity>Id[Key()] (see Annotations)modelBuilder.Entity<Person>().HasKey(ma => ma.SSN);(see IT:AD:Code First:FluentAPI:Properties)* COULD:Table Name mapping can be forced by:
[ClassName] (see Annotations):DataContext.OnModelCreating(): modelBuilder.Entity<Invoice>().Property(i => i.Name)
.HasColumnName("ClientInvoices"); (see IT:AD:Code First:FluentAPI):[NotMapped] (see IT:AD:Code First:DataAnnotations)DataContext.OnModelCreating(): modelBuilder.Ignore<Invoice>() (see IT:AD:Code First:FluentAPI)
Example:
modelBuilder.Entity<X>.MapSingleType().ToTable("xyxTable");
_graphContext.Configuration.AutoDetectChangesEnabled = false;