Links About Code First

阅读更多

 

一、Workthrough

  1. EF 4.1 Code First Walkthrough (Annotation)
  2. EF Feature CTP5: Code First Walkthrough
  3. Using EF “Code First” with an Existing Database
  4. Code-First Development with Entity Framework 4(重建数据库、初始化数据)
  5. EF 4.1 Model & Database First Walkthrough(数据库—>edmx;edmx—>Pocos)
  6. DbContext in EF 4.1 (DbContext的使用)
  7. EF4.0 and EF4.1 Guide
  8. Vedio Guide
  9. Code First Database Evolution 进化
  10. WinForm中使用Code First
  11. Code First Walkthrough
  12. 关闭Code Frist初始化策略 Database.SetInitializer(null);

二、Annotations

  1. Data Annotations in the Entity Framework and Code First
  2. Code First DataAnnotations (Key,Required,MaxLength and MinLength ,NotMapped, ComplexType, ConcurrencyCheck, TimeStamp ,Table and Column,DatabaseGenerated,Relationship Attributes,InverseProperty, ForeignKey)
  3. Conventions for Code First

三、Fluent API

EF Feature CTP5: Fluent API Samples

四、Mapping

  1. Custom Database Schema Mapping
  2. 创建Mapping的两种思路
  3. Custom Conventions in Entity Framework Code First v 4.1

五、Relationship

  1. Complex Types
  2. Shared Primary Key Associations
  3. Table Splitting
  4. One-to-One Foreign Key Associations
  5. Many-valued Associations
  6. 继承:子父类一个表,每一个类一个表,每个子类一个表
  7. Relationship Fluent API(Video)

六、Application

  1. Database Initializers(Video)
  2. Seeding a Database
  3. Pluggable Conventions
  4. Validation

七、DbContext

  1. Introduction and Model
  2. Connections and Models
  3. Finding Entities
  4. Add/Attach and Entity States
  5. Working with Property Values
  6. Loading Related Entities
  7. Local Data
  8. Working with Proxies
  9. Optimistic Concurrency Patterns
  10. Raw SQL Queries
  11. Load and AsNoTracking
  12. Automatically Detecting Changes

中文

  1. DbSet.Find()函数的实现
  2. DbSet.Local属性的使用与实现

八、Extensions

  1. Declarative Referential Integrity (DRI)
  2. Cascading Delete
  3. Referential Integrity Refactorings

你可能感兴趣的:(.net,c#,code,first,ef)