protected override void OnModelCreating(ModelBuilder modelBuilder) { AddMyEntity.Build(modelBuilder); modelBuilder.Entity <MyEntity>() .Property(p => p.MyInt).HasColumnName("OtherColName"); }
protected override void OnModelCreating(ModelBuilder modelBuilder) { AddMyEntity.Build(modelBuilder); modelBuilder.Entity <MyEntity>() .Property <int>("ShadowProp"); }
protected override void OnModelCreating(ModelBuilder modelBuilder) { AddMyEntity.Build(modelBuilder); ComputedCol.Build(modelBuilder); }
protected override void OnModelCreating(ModelBuilder modelBuilder) { AddMyEntity.Build(modelBuilder); modelBuilder.Entity <MyEntity>() .Property(p => p.MyString).IsUnicode(false); }