Top "Entity-framework-4" questions

A tag for ADO.

EF4 is throwing an error "Schema specified is not valid"

I'm getting a weird EF4 "Entity Framework v4" error when I do a select on the context. There I get …

entity-framework .net-4.0 entity-framework-4 ado.net-entity-data-model
The principal end of this association must be explicitly configured using either the relationship fluent API or data annotations

"The principal end of this association must be explicitly configured using either the relationship fluent API or data annotations." I …

c# .net entity-framework-4 associations
How to in-code supply the password to a connection string in an ADO.Net Entity Data Model

I've been following this tutorial on how to create an OData service. http://www.hanselman.com/blog/CreatingAnODataAPIForStackOverflowIncludingXMLAndJSONIn30Minutes.aspx …

c# entity-framework-4 ado.net odata
AutomaticMigrationsEnabled false or true?

In EF projects, Is there any best practice for setting AutomaticMigrationsEnabled ? More declaration: In our team after modifying a model …

entity-framework entity-framework-4 entity-framework-migrations
How to set default value for POCO's in EF CF?

In Entity Framework Code First approach, how do you set a default value for a property in the POCO's EntityConfiguration …

.net entity-framework ef-code-first entity-framework-4
Possible to default DateTime field to GETDATE() with Entity Framework Migrations?

I added EntityFramework.Migrations (Beta 1) to an existing Code-First app that is going through some changes (for both migration capabilities …

entity-framework-4 ef-code-first entity-framework-migrations
Exclude a field/property from the database with Entity Framework 4 & Code-First

I will like to know that is there a way to exclude some fields from the database? For eg: public …

c# .net entity-framework-4 ef-code-first poco
String.Equals() not working as intended

I am using LINQ to search through one of my Entity Framework tables and find a "group" based on the …

c# linq entity-framework-4 equals
Entity Framework Code First naming conventions - back to plural table names?

I am just taking a crack at entity framework code first. Following their naming convention, we now have to name …

c# entity-framework entity-framework-4 ef-code-first naming-conventions