Tags » Entity Framework

EntityException: The underlying provider failed on Open

The application I was debugging went wonky on me (“Out of Memory” exceptions, in case your curious), so I had to kill Visual Studio and start over. 130 more words

MVC

Executing stored procedure with user defined table type parameter in entity framework using EntityFrameworkExtras

Entity framework does not support user defined type by default. So to support user defined type in entity framework we implement EntityFrameworkExtras package available on… 363 more words

Entity Framework

Entity Framework Migration

Entity Framework Migrations

EF Migration feature enables developer to change the entity or data model and deploy these changes to the database server by updating database schema without having to drop and re-create the database. 308 more words

Entity Framework

Rename Table and Column Name in EF Code First

Business rules change over the time. For developers, this can be frustrating. Especially after you have spent enormous amount of time to name your objects properly. 144 more words

General

ASP.NET Entity Framework 6 and Web API 2: REST API returning same record over and over

Over the past year, I have gained some good experience working with Entity Framework (EF) and Web API 2. From my experience, when your SQL tables/views/DB objects are well defined and “clean,” Entity Framework with Web API offers a quick way to set up web services (it’s as simple as 3 steps: creating a data connection, creating a EF data model, and creating a controller). 281 more words

Web Development

Seminar on 4th July on JSON, Entity Framework & Power BI

Hello friends,

Mark your calender for the next month. We are coming up with our next free open offline seminar which we are planning to conduct on… 171 more words

Event Update

Composite Key (Multi Columns Primary Key) in EF Code First

Composite Key is basically Primary Key that spans multiple columns. Look like this:

To achieve this in EF Code First, all you need to add is… 76 more words

General