DORSETRIGS
Home

ef-code-first (12 post)


posts by category not found!

How to cleanly generate POCO classes from existing database using Entity Framework 4.3 Code First approach?

How to Cleanly Generate POCO Classes from Existing Database Using Entity Framework 4 3 Code First Approach Entity Framework EF is a powerful Object Relational M

3 min read 08-10-2024 31
How to cleanly generate POCO classes from existing database using Entity Framework 4.3 Code First approach?
How to cleanly generate POCO classes from existing database using Entity Framework 4.3 Code First approach?

Default value for Required fields in Entity Framework migrations?

Understanding Default Values for Required Fields in Entity Framework Migrations Entity Framework EF is a popular Object Relational Mapper ORM that simplifies da

3 min read 08-10-2024 25
Default value for Required fields in Entity Framework migrations?
Default value for Required fields in Entity Framework migrations?

Unique Key constraints for multiple columns in Entity Framework

Ensuring Data Integrity Unique Key Constraints for Multiple Columns in Entity Framework Data integrity is a cornerstone of any robust application Entity Framewo

2 min read 07-10-2024 30
Unique Key constraints for multiple columns in Entity Framework
Unique Key constraints for multiple columns in Entity Framework

Entity Framework : Sharing entities across different DbContexts

Sharing Entity Types across Multiple Db Context Instances in Entity Framework Entity Framework EF is a popular object relational mapping ORM framework for NET t

2 min read 07-10-2024 22
Entity Framework : Sharing entities across different DbContexts
Entity Framework : Sharing entities across different DbContexts

Unable to update database to match the current model because there are pending changes

Unable to Update Database Pending Changes A Developers Headache and How to Fix It Have you ever encountered the dreaded Unable to update database to match the c

2 min read 07-10-2024 25
Unable to update database to match the current model because there are pending changes
Unable to update database to match the current model because there are pending changes

Entity Framework is incorrectly enforcing a unique constraint across multiple columns

Entity Frameworks Unique Constraint Mishap A Tale of Conflicting Columns Problem You re using Entity Framework to manage your database and you ve defined a uniq

2 min read 07-10-2024 47
Entity Framework is incorrectly enforcing a unique constraint across multiple columns
Entity Framework is incorrectly enforcing a unique constraint across multiple columns

Using Singular Table Names with EF Core 2

Simplifying Database Design Using Singular Table Names with EF Core 2 Entity Framework Core EF Core is a popular object relational mapper ORM used for simplifyi

2 min read 06-10-2024 43
Using Singular Table Names with EF Core 2
Using Singular Table Names with EF Core 2

Entity Framework returns null value of associated tables when using stored procedure

Entity Framework and Stored Procedures Navigating the Null Value Mystery Problem When using stored procedures with Entity Framework you might encounter a frustr

3 min read 04-10-2024 43
Entity Framework returns null value of associated tables when using stored procedure
Entity Framework returns null value of associated tables when using stored procedure

Automapper lazy loading. Entity framework

Automapper and Lazy Loading A Comprehensive Guide When working with Entity Framework and Automapper you might encounter situations where lazy loading doesnt see

3 min read 06-09-2024 85
Automapper lazy loading. Entity framework
Automapper lazy loading. Entity framework

EntityFramework 6 - Code first - TPT Inheritance - Different schema for base class

Entity Framework 6 TPT Inheritance with Different Schemas for Base Class This article explores a common scenario in Entity Framework 6 using Table per Type TPT

3 min read 05-09-2024 64
EntityFramework 6 - Code first - TPT Inheritance - Different schema for base class
EntityFramework 6 - Code first - TPT Inheritance - Different schema for base class

Using async await with EF Core repository pattern

The Async Await Conundrum with EF Core Repositories When to Embrace and When to Pass When building applications with Entity Framework Core EF Core the question

3 min read 31-08-2024 70
Using async await with EF Core repository pattern
Using async await with EF Core repository pattern

EF Core - Need to reference the many-to-many join table in code-first application

Accessing the Join Table in EF Core Many to Many Relationships This article explores a common issue in Entity Framework Core EF Core applications where develope

2 min read 30-08-2024 48
EF Core - Need to reference the many-to-many join table in code-first application
EF Core - Need to reference the many-to-many join table in code-first application