I want to save changes SaveChangesfrom ObjectContext(Win applications) asynchronously, display a progress bar (or managed?) A progress bar (can I easily implement this) for the user, while he is able to continue working.
SaveChanges
ObjectContext
Mostly I want to override SaveChanges ObjectContext.
Has anyone thought of this before?
change in 2013-03-12:
Since some people started lowering this answer, I think that for some reason this decision is no longer good.
, - . , , .
, . :
, ;
BeginInvoke , ;
BeginInvoke
, (, );
, , , :
Entity Framework . , ADO.NET, . ADO.NET .
Task. , . , "" ObjectContext (, ,...), .
, . , .
2013-04-17:
EF6 ( , - ) , SaveChangesAsync. ADO.NET, , , (- , () ).
SaveChangesAsync
Source: https://habr.com/ru/post/1713341/More articles:Server.Transferrequest() и получение текущего URL-адреса - asp.netHow to increase the connection pool size for Twisted? - pythonHow to model optional one-to-many relationships in 1NF - database-designWindsor Castle Trace Type Permission - castle-windsorMOSS vs. traditional ASP.NET - comparisonCan focus on SplitContainer be avoided? - winformsHow to make Nhibernate handle non-existing database columns gracefully - c #OOP for two interacting classes - oopDisable auto-lock from application - objective-c.UICulture page - How to get a UICulture code with two letters? - asp.netAll Articles