标签:
modelBuilder.Entity<Person>()
.Map(m => { m.Properties(p => new { p.身高, p.体重 }); m.ToTable("A"); })
.Map(m => { m.Properties(p => new { p.身份证号码 }); m.ToTable("B"); });
实体添加映射
原文地址:http://www.cnblogs.com/lvdongjie/p/5630730.html