EntityFramework Notes for Professionals book

    Amazing collection of free programming books

    收集中
    免費
    Amazing collection of free programming books

    The Notes for Professionals book is compiled from Stack Overflow Documentation, the content is written by the beautiful people at Stack Overflow. Text content is released under Creative Commons BY-SA. See credits at the end of this book whom contributed to the various chapters. Images may be copyright of their respective owners unless otherwise specified

    Book created for educational purposes and is not affiliated with group(s), company(s) nor Stack Overflow. All trademarks belong to their respective company owners

    https://goalkicker.com/

    章節目錄

    1-1Content list
    1-2About
    1-3Chapter 1: Getting started with Entity Framework
    1-4Section 1.1: Installing the Entity Framework NuGet Package
    1-5Section 1.2: Using Entity Framework from C# (Code First)
    1-6Section 1.3: What is Entity Framework?
    1-7Chapter 2: Code First Conventions
    1-8Section 2.1: Removing Conventions
    1-9Section 2.2: Primary Key Convention
    1-10Section 2.3: Type Discovery
    1-11Section 2.4: DecimalPropertyConvention
    1-12Section 2.5: Relationship Convention
    1-13Section 2.6: Foreign Key Convention
    1-14Chapter 3: Code First DataAnnotations
    1-15Section 3.1: [Column] attribute
    1-16Section 3.2: [DatabaseGenerated] attribute
    1-17Section 3.3: [Required] attribute
    1-18Section 3.4: [MaxLength] and [MinLength] attributes
    1-19Section 3.5: [InverseProperty(string)] attribute
    1-20Section 3.6: [ComplexType] attribute
    1-21Section 3.7: [ForeignKey(string)] attribute
    1-22Section 3.8: [Range(min,max)] attribute
    1-23Section 3.9: [NotMapped] attribute
    1-24Section 3.10: [Table] attribute
    1-25Section 3.11: [Index] attribute
    1-26Section 3.12: [Key] attribute
    1-27Section 3.13: [StringLength(int)] attribute
    1-28Section 3.14: [Timestamp] attribute
    1-29Section 3.15: [ConcurrencyCheck] Attribute
    1-30Chapter 4: Entity Framework Code First
    1-31Section 4.1: Connect to an existing database
    1-32Chapter 5: Entity framework Code First Migrations
    1-33Section 5.1: Enable Migrations
    1-34Section 5.2: Add your first migration
    1-35Section 5.3: Doing "Update-Database" within your code
    1-36Section 5.4: Seeding Data during migrations
    1-37Section 5.5: Initial Entity Framework Code First Migration Step by Step
    1-38Section 5.6: Using Sql() during migrations
    1-39Chapter 6: Inheritance with EntityFramework (Code First)
    1-40Section 6.1: Table per hierarchy
    1-41Section 6.2: Table per type
    1-42Chapter 7: Code First - Fluent API
    1-43Section 7.1: Mapping models
    1-44Section 7.2: Composite Primary Key
    1-45Section 7.3: Maximum Length
    1-46Section 7.4: Primary Key
    1-47Section 7.5: Required properties (NOT NULL)
    1-48Section 7.6: Explict Foreign Key naming
    1-49Chapter 8: Mapping relationship with Entity Framework Code First: One-to-one and variations
    1-50Section 8.1: Mapping one-to-zero or one
    1-51Section 8.2: Mapping one-to-one
    1-52Section 8.3: Mapping one or zero-to-one or zero
    1-53Chapter 9: Mapping relationship with Entity Framework Code First: One-to-many and Many-to-many
    1-54Section 9.1: Mapping one-to-many
    1-55Section 9.2: Mapping one-to-many: against the convention
    1-56Section 9.3: Mapping zero or one-to-many
    1-57Section 9.4: Many-to-many
    1-58Section 9.5: Many-to-many: customizing the join table
    1-59Section 9.6: Many-to-many: custom join entity
    1-60Chapter 10: Database first model generation
    1-61Section 10.1: Generating model from database
    1-62Section 10.2: Adding data annotations to the generated model
    1-63Chapter 11: Complex Types
    1-64Section 11.1: Code First Complex Types
    1-65Chapter 12: Database Initialisers
    1-66Section 12.1: CreateDatabaseIfNotExists
    1-67Section 12.2: DropCreateDatabaseIfModelChanges
    1-68Section 12.3: DropCreateDatabaseAlways
    1-69Section 12.4: Custom database initializer
    1-70Section 12.5: MigrateDatabaseToLatestVersion
    1-71Chapter 13: Tracking vs. No-Tracking
    1-72Section 13.1: No-tracking queries
    1-73Section 13.2: Tracking queries
    1-74Section 13.3: Tracking and projections
    1-75Chapter 14: Transactions
    1-76Section 14.1: Database.BeginTransaction()
    1-77Chapter 15: Managing entity state
    1-78Section 15.1: Setting state Added of a single entity
    1-79Section 15.2: Setting state Added of an object graph
    1-80Chapter 16: Loading related entities
    1-81Section 16.1: Eager loading
    1-82Section 16.2: Explicit loading
    1-83Section 16.3: Lazy loading
    1-84Section 16.4: Projection Queries
    1-85Chapter 17: Model Restraints
    1-86Section 17.1: One-to-many relationships
    1-87Chapter 18: Entity Framework with PostgreSQL
    1-88Section 18.1: Pre-Steps needed in order to use Entity Framework 6.1.3 with PostgresSql using Npgsqlddexprovider
    1-89Chapter 19: Entity Framework with SQLite
    1-90Section 19.1: Setting up a project to use Entity Framework with an SQLite provider
    1-91Chapter 20: .t4 templates in entity framework
    1-92Section 20.1: Dynamically adding Interfaces to model
    1-93Section 20.2: Adding XML Documentation to Entity Classes
    1-94Chapter 21: Advanced mapping scenarios: entity splitting, table splitting
    1-95Section 21.1: Entity splitting
    1-96Section 21.2: Table splitting
    1-97Chapter 22: Best Practices For Entity Framework (Simple & Professional)
    1-98Section 22.1: 1- Entity Framework @ Data layer (Basics)
    1-99Section 22.2: 2- Entity Framework @ Business layer
    1-100Section 22.3: 3- Using Business layer @ Presentation layer (MVC)
    1-101Section 22.4: 4- Entity Framework @ Unit Test Layer
    1-102Chapter 23: Optimization Techniques in EF
    1-103Section 23.1: Using AsNoTracking
    1-104Section 23.2: Execute queries in the database when possible, not in memory
    1-105Section 23.3: Loading Only Required Data
    1-106Section 23.4: Execute multiple queries async and in parallel
    1-107Section 23.5: Working with stub entities
    1-108Section 23.6: Disable change tracking and proxy generation
    1-109Credits
    1-110You may also like

    常見問答

    您可以透過手機、平板或是電腦登入 HiSKIO 平台,在【我的學習】>【我的書籍】頁面,選擇想看的電子書。

    猜你喜歡

    用戶評價

    | 收集中

    銷售方案