Skip to content Skip to sidebar Skip to footer
Showing posts with the label Entity Framework 4.1

Entity Sqlce Can't Find Connection String In App.config File

I've been getting this error when I try and use my model container: No connection string named… Read more Entity Sqlce Can't Find Connection String In App.config File

How To Stop Ef4.1 Code-first To Create Culstered Index For The Entity Pk

With the following simple entity class, EF4.1 Code-First will create Clustered Index for the PK Use… Read more How To Stop Ef4.1 Code-first To Create Culstered Index For The Entity Pk

Why Does The Entity Framework's Dbcontext.find() Generate A Query With Select Top 2?

Why does the Entity Framework's DbContext.Find() generate a query with select top 2 and a deriv… Read more Why Does The Entity Framework's Dbcontext.find() Generate A Query With Select Top 2?

Cascade Delete Rule In Ef 4.1 Code First When Using Shared Primary Key Association

I implemented a bidirectional 1:1 relationship based on this answer: Primary /Foreign Key in Entity… Read more Cascade Delete Rule In Ef 4.1 Code First When Using Shared Primary Key Association

Linq To Entities (ef 4.1): How To Do A Sql Like With A Wildcard In The Middle ( '%term%term%')?

I want to search for this: Post Cereal and get this: Post Honey Nut Cereal where the wild cards w… Read more Linq To Entities (ef 4.1): How To Do A Sql Like With A Wildcard In The Middle ( '%term%term%')?

Ef Code First - The Provider Did Not Return A Providermanifesttoken String

I'm trying to get a very simply EF Code First example running but ran into the above problem. I… Read more Ef Code First - The Provider Did Not Return A Providermanifesttoken String

View And Download File From Sql Db Using Entity Framework

Am new for hamdling Entity Framework.I use the following code for insert the file from fileupload b… Read more View And Download File From Sql Db Using Entity Framework

How Call Functions From Data Base In Ef

I generate a model from my database. In the .edmx file I have a row string Solution 1: You need… Read more How Call Functions From Data Base In Ef