I use EF 4.
private static readonly RoomContext m_RoomsContext = new RoomContext();
Load:
RoomsContext.Load(RoomsContext.GetTableQuery(), LoadBehavior.MergeIntoCurrent, onLoadOperationCompleted, new object());
error:
Error 2 Argument 3: cannot convert from 'method group' to 'System.Action>' Error 1 The best overloaded method match for 'System.ServiceModel.DomainServices.Client.DomainContext.Load(System.ServiceModel.DomainServices.Client.Ent开发者_开发百科ityQuery, System.ServiceModel.DomainServices.Client.LoadBehavior, System.Action>, object)' has some invalid arguments
精彩评论