Top "Entity-framework-5" questions

The ADO.

How do I enable EF migrations for multiple contexts to separate databases?

How do I enable Entity Framework 5 (version 5.0.0) migrations for multiple DB contexts in the same project, where each context corresponds …

.net entity-framework entity-framework-5 database-migration
Creating Composite Key Entity Framework

Shortly, I want to create composite keys on my table remaining with the primary key in order to improve sql …

c# entity-framework entity-framework-5 composite-key
The term 'Update-Database' is not recognized as the name of a cmdlet

I am using EF5 beta1 and while I was able to run the "Update-Database" before. Now that I shut down …

entity-framework ef-code-first entity-framework-migrations entity-framework-5
Mocking EF DbContext with Moq

I'm trying to create a unit test for my service with a mocked DbContext. I created an interface IDbContext with …

c# unit-testing entity-framework-5 moq dbcontext
Get return value from stored procedure

I'm using Entity Framework 5 with the Code First approach. I need to read the return value from a stored procedure; …

c# stored-procedures ef-code-first entity-framework-5 return-value
Calculated column in EF Code First

I need to have one column in my database calculated by database as (sum of rows) - (sum of rowsb). …

c# sql-server ef-code-first entity-framework-5 calculated-columns
How to install EntityFramework 5.0 (and other older versions) from NuGet?

I installed EF 5.0 into the .DAL, now I want to install EF 5.0 into .BLL from Nuget But the default online …

c# asp.net entity-framework-5 entity-framework-6
What's the difference(s) between .ToList(), .AsEnumerable(), AsQueryable()?

I know some differences of LINQ to Entities and LINQ to Objects which the first implements IQueryable and the second …

entity-framework entity-framework-4 linq-to-entities entity-framework-5
Loading all the children entities with entity framework

I have a data model like this I would like to load all the related entities from a Reconciliation into …

c# entity-framework-5