Entity Framework Timeouts
I am getting timeouts using the Entity Framework (EF) when using a function import that takes over 30 seconds to complete. I tried the following and have not been able to resolve this issue:
I am getting timeouts using the Entity Framework (EF) when using a function import that takes over 30 seconds to complete. I tried the following and have not been able to resolve this issue:
We are starting a new web based product in which we are planning to expose our business logic through WCF services. We will be using ASP.NET 4.0, C#, EF 4.0. In future we want to build iphone applications and WPF applications based on the services. I have been reading a lot about using POCO vs Self Tracking Entities (STE) and from my understand the STEs do not work well with the web scenario. Can anyone shed more light on this issue?
So I used this tutorial to generate my poco classes which I am to use throughout my aplication.. the problem is that Im not supposed to modify the generated cs files cause they get autoregenerated… How do I add attributes like [Required] and stuff like that?? please help
I am using the entity framework (ef) and am getting the following error:
I’m using Entity Framework 4 for a simple app and would like to bake my connection credentials into the following connection string:
I use EF 4.1 with Repository and DbContext.. POCO with T4 template.
For every Repository I use a separate DbContext.
Does anyone have any best practices around deploying database changes in an EF 4.1 code-first solution? I know MS does not currently support database migrations for EF 4.1, but obviously people are going to need to do this from time to time.
I’m having problems with a circular reference when i try and serialise an object returned via EF4 CTP5. Im using the code first approach and simple poco’s for my model.
All my entities has property Id. All my tables in database has auto-generated integer identity Id as primary key.
I’m using the EF 4.0 designer to create a database by clicking on “Generate Database from Model”.
I wan’t to use the sql 2008 column type “filestream”.
Unfortunately I can’t select “filestream” from Type DropDownList of a specific column.