objectcontext
ASP.Net Entity Framework, objectcontext error
I\'m building a 4 layered ASP.Net web application. The layers are: Data Layer Entity Layer Business Layer[详细]
2022-12-30 23:46 分类:问答How Can i change Tracking Information of object from ObjectContext to another?
I have an object which is added to an objectContext .. after some operation i need to pass it to another objectcont开发者_开发百科ext of the same database but i always face this message :[详细]
2022-12-29 17:35 分类:问答EF4 - possible to mock ObjectContext for unit testing?
Can it be done without using TypeMock Islolator? I\'ve found a few suggestions online such as passing in a metadata only connection string, however nothing I\'ve come across besides TypeMock seems to[详细]
2022-12-27 19:56 分类:问答ADO.net, Check if ObjectContext is writeable
I have an embedded database in an asp.net mvc project. If I 开发者_如何学Gotry to write to the file, I sometimes get a write failed exception because the SQL Server can\'t write to the file. How can I[详细]
2022-12-24 20:06 分类:问答MVC ASP.NET, ObjectContext and Ajax. Weird Behaviour
i\'ve been creating a web application in mvc asp.net. I have three different project/solutions: One solution contains the model in EF (DAL) and all the methods to add, update, delete and query the o[详细]
2022-12-24 16:20 分类:问答Entity Framework Object Context in ASP.NET Session object?
We have a multi-layered Asp.NET Web Forms application. The data layer has a class called DataAccess which impements IDisposable and has an instance of our Entity Framework Object Context as a private[详细]
2022-12-22 11:45 分类:问答How to refresh ObjectContext cache from db?
We are loading data from db: var somethings = Context.SomethingSet.ToList(); Then someone deletes or adds rows outside of context. Out context still has caches deleted object, because it doesn\'t k[详细]
2022-12-21 17:16 分类:问答Global Javascript Event Handling Object Context
I have the following problem in event handlers in Javascript. I\'ve got an object that has a mousemove event handler like so:[详细]
2022-12-19 16:45 分类:问答Round trip logging in entity framework
I know this is possible in Linq-to-Sql, is it possible to automatically log all queries made through a particular ObjectContext in entity framework?In particular, I\'m开发者_开发技巧 interested in the[详细]
2022-12-19 05:31 分类:问答How to delete an associated object in Entity Framework without having access to the object context
Having two models, Site and Link, where a site has many links, how do I delete a link from inside a method of Site, which doesn\'t have access to the object context?[详细]
2022-12-17 17:24 分类:问答