会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
talentzemin
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
27
28
29
30
31
32
33
34
35
···
46
下一页
2017年8月4日
【译】第26节---配置一对多关系
摘要: 原文:http://www.entityframeworktutorial.net/code-first/configure-one-to-many-relationship-in-code-first.aspx 本节,我们将学习如何在Code First中配置两个实体之间的一对多关系。 举一个St
阅读全文
posted @ 2017-08-04 14:28 talentzemin
阅读(258)
评论(0)
推荐(0)
2017年8月2日
【译】第25节---配置一对一关系
摘要: 原文:http://www.entityframeworktutorial.net/code-first/configure-one-to-one-relationship-in-code-first.aspx 本节,我们将配置两个实体之间的一对零或者一对一关系。例如, Entity1可以与零个或仅
阅读全文
posted @ 2017-08-02 15:46 talentzemin
阅读(244)
评论(0)
推荐(0)
2017年8月1日
【译】第24节---Fluent API - 属性映射
摘要: 原文:http://www.entityframeworktutorial.net/code-first/configure-property-mappings-using-fluent-api.aspx 本节,我们将学习如何使用Fluent API配置实体类的属性。 我们将使用我们学校app的St
阅读全文
posted @ 2017-08-01 14:52 talentzemin
阅读(282)
评论(0)
推荐(0)
【译】第23节---Fluent API - 实体映射
摘要: 原文:http://www.entityframeworktutorial.net/code-first/configure-entity-mappings-using-fluent-api.aspx 本节,我们将学习如何使用Fluent API配置实体。 我们将使用以下学校app的Student和
阅读全文
posted @ 2017-08-01 14:24 talentzemin
阅读(285)
评论(0)
推荐(0)
【译】第22节---Fluent API - EntityTypeConfiguration类
摘要: 原文:http://www.entityframeworktutorial.net/code-first/entitytypeconfiguration-class.aspx 在我们开始使用Fluent API进行配置之前,我们来看看一个重要的Fluent API类。 EntityTypeConfi
阅读全文
posted @ 2017-08-01 14:05 talentzemin
阅读(516)
评论(0)
推荐(0)
【译】第21节---Fluent API
摘要: 原文:http://www.entityframeworktutorial.net/code-first/fluent-api-in-code-first.aspx 在前面的学习中。我们已经看到不同的DataAnnotations属性来覆盖默认的Code-First约定。 本节,我们将了解Fluen
阅读全文
posted @ 2017-08-01 13:51 talentzemin
阅读(229)
评论(0)
推荐(0)
2017年7月21日
【译】第20节---数据注解-InverseProperty
摘要: 原文:http://www.entityframeworktutorial.net/code-first/inverseproperty-dataannotations-attribute-in-code-first.aspx 我们已经学习,如果你没有在父类中包含外键属性,那么Code-First会
阅读全文
posted @ 2017-07-21 16:40 talentzemin
阅读(466)
评论(0)
推荐(0)
【译】第19节---数据注解-NotMapped
摘要: 原文:http://www.entityframeworktutorial.net/code-first/notmapped-dataannotations-attribute-in-code-first.aspx NotMapped属性可以应用于类的属性。 默认的Code-First约定为包含ge
阅读全文
posted @ 2017-07-21 16:29 talentzemin
阅读(241)
评论(0)
推荐(0)
【译】第18节---数据注解-ForeignKey
摘要: 原文:http://www.entityframeworktutorial.net/code-first/foreignkey-dataannotations-attribute-in-code-first.aspx ForeignKey属性可以应用于类的属性。对于ForeignKey关系, 默认C
阅读全文
posted @ 2017-07-21 16:25 talentzemin
阅读(509)
评论(0)
推荐(0)
【译】第17节---数据注解-Column
摘要: 原文:http://www.entityframeworktutorial.net/code-first/column-dataannotations-attribute-in-code-first.aspx Column属性可以应用于类的属性。 默认Code First约定创建与名称相同的列名称。
阅读全文
posted @ 2017-07-21 16:09 talentzemin
阅读(242)
评论(0)
推荐(0)
上一页
1
···
27
28
29
30
31
32
33
34
35
···
46
下一页
公告