Top "Entity-framework-4.1" questions

This tag is for the ADO.

Better way to query a page of data and get total count in entity framework 4.1?

Currently when I need to run a query that will be used w/ paging I do it something like this: //…

c# entity-framework c#-4.0 entity-framework-4 entity-framework-4.1
Entity Framework Code First - Defining Relationships/Keys

I am designing my database using code first and I need a little help I think. I am getting this …

entity-framework entity-framework-4.1
ADO.NET DbContext Generator vs. ADO.NET Poco Entity Generator (ObjectContext)

I am about to start implementing the data access infrastructure of a project that was architected with an approach to …

entity-framework entity-framework-4 entity-framework-4.1
Entity Framework Code-first default data in database

How do I handle situations in which I need pre-existing data before the app is started or right after the …

database entity-framework initialization ef-code-first entity-framework-4.1
Entity Framework 4.1 Code First Foreign Key Id's

I have two entities referenced one to many. When entity framework created the table it creates two foreign keys, one …

c# poco entity-framework-4.1
How do you ensure Cascade Delete is enabled on a table relationship in EF Code first?

I would like to enable CASCADE DELETE on a table using code-first. When the model is re-created from scratch, there …

entity-framework ef-code-first entity-framework-4.1 cascading-deletes
EF Code First: How to get random rows

How can I build a query where I would retrieve random rows? If I were to write it in SQL …

c# entity-framework entity-framework-4.1 ef-code-first
Entity Framework Code-First: How to manually update the database?

I've build a little WPF demo app which uses EF Code-First to save its data in a SQL CE 4.0 DB. …

.net c#-4.0 entity-framework-4.1 ef-code-first sql-server-ce
mapping multiple tables to a single entity class in entity framework

Before this is marked as a duplicate, I have checked the other related posts and they do not answer my …

c# entity-framework asp.net-mvc-3 c#-4.0 entity-framework-4.1
Reload an entity and all Navigation Property Association- DbSet Entity Framework

I have a problem with entity association refresh. When I get an entity with like this: MyContext context = new MyContext(); …

c# entity-framework ado.net entity-framework-4.1