entity-framework
add-migration push visual studion in 'Microsoft visual studio is busy'
I tried to use ado.net migrations and when type add-migration in nu-get console i sometimes(in 50% of cases) cause visual studio in stuck and get the mesageMicrosoft visual studio is busy.[详细]
2023-04-11 23:35 分类:问答Recommended structure for entity framework for a CRUD DAL for WCF
I need to implement a back-office layer for an application. It will have to implement the data access through EF4, and expose the data access as CRUD through WCF services. The using of WCF Data Servic[详细]
2023-04-11 23:11 分类:问答Entity Framework timeout instantly
I have a开发者_JS百科 very simple query on a 400 records database, however, if I do that query in a multi-threaded environment, it times out instantly, if I query it one by one, it works fine.[详细]
2023-04-11 21:36 分类:问答Using LINQ to get one entity with the most of a child entity
I have an entity in Entity Framework 4 called Topic. Topic开发者_如何学Go has a navigation property to a collection of Reply entities.[详细]
2023-04-11 21:00 分类:问答Only initializers, entity members, and entity navigation properties are supported. (ASP.NET MVC and Entity Framework)
I am stuck in somewhere on my ASP.NET MVC 3 app. here is the error I am getting : The specified type member \'AccommPropertyTags\' is not supported in[详细]
2023-04-11 20:37 分类:问答Boolean inside of Select()
I have a person table filled with Person information. I would like to get a list of the personer inside the table and check if they have renewed thier password in last 24 hours, and then return a pers[详细]
2023-04-11 19:22 分类:问答populating an Entity DataModel from XML using Linq
I have a C# .net 3.5 application using an ADO.NET Entity D开发者_JAVA技巧ata Model. I am loading the contents for a given database entry from an XML file.[详细]
2023-04-11 18:37 分类:问答How can I fake ObjectContext?
How can I fake an ObjectContext when unit testing?I have created my generic repository that excepts an ObjectContext, faked the ObjectSets, but I can\'t figure out how to create and pass a fake Object[详细]
2023-04-11 17:49 分类:问答How to provide DISTINCT functionality in WCF
I have WCF Data service on top of EF (old-fashioned edmx; not code-first) that has millions of rows of data. I am restricting result set to 500 rows. So far, so good![详细]
2023-04-11 16:53 分类:问答cast from List<EntityObject> to EntityObject
My code is as below. public void CreateNewAuthor(List<Author> ne开发者_Python百科wAuthor) { publishContext.AddToAuthors(newAuthor);[详细]
2023-04-11 15:27 分类:问答