Top "Entity-framework-4" questions

A tag for ADO.

How do I set Identity seed on an ID column using Entity Framework 4 code first with SQL Compact 4?

I am having some problem setting the Identity Seed on the Id column in SQL Compact 4 using the code first …

entity-framework-4 ef-code-first sql-server-ce identity-column
Entity Framework 4.0 Entity SQL passing null ObjectParameter parameters

I have an Entity SQL query: SELECT VALUE t FROM MyEntities AS t WHERE t.Name = @p OR (@p IS …

.net entity-framework .net-4.0 entity-framework-4 entity-sql
Entity Framework "The underlying provider failed on Open" - Cassini vs IIS

I have a service that uses EF to retrieve data from a SQL database. The EF model is in a …

entity-framework iis entity-framework-4 cassini
How to invalidate entity framework 4 internal cache

As I know Entity Framework implements the Identity Map Pattern, so EF caches some entities in the memory. Let I …

.net entity-framework caching entity-framework-4 identity-map
How to add validation to my POCO(template) classes

So I used this tutorial to generate my poco classes which I am to use throughout my aplication.. the problem …

asp.net asp.net-mvc validation entity-framework-4 poco
Operation is not valid due to the current state of the object

I'm using Entity Framework with ODP.NET 11.2.0.3.0. I got persistence working for some tables, but this one flat out refuses …

entity-framework entity-framework-4 odp.net
How can you dynamically select a table with entity framework 4.x?

Suppose I have a database named MyDatabase which has two tables - MyTable1 and MyTable2. Using the Code First approach …

c# .net entity-framework entity-framework-4 ado.net-entity-data-model
Using EF4 migration tool with model-first approach

EF migration utility seems quite nice when using code first. Based on this blog post, I tried setting it in …

.net entity-framework-4 database-migration ef-model-first
Retrieve data from sqlserver in vb.net using entity framework and native sql

I want to retrieve data in Winforms using vb.net, entity framework and native sql. I have used the code …

vb.net winforms entity-framework-4 native-sql
EF4 Poco Issue Mapping Types Same Name Same Assembly Different Namespaces

I am experiencing an issue with EF4 and Proxy Pocos. I have 2 classes with the same name in the same …

c# namespaces entity-framework-4 poco