摘要: FluentApi总结 1.FluentApi简介 EF中的FluentApi作用是通过配置领域类来覆盖默认的约定。在EF中,我们通过DbModelBuilder类来使用FluentApi,它的功能比数据注释属性更强大。 使用FluentApi时,我们在context类的OnModelCreatin 阅读全文
posted @ 2018-09-18 18:06 捞月亮的猴子 阅读(9052) 评论(17) 推荐(5)