我使用EF 4。
private static readonly RoomContext m_RoomsContext = new RoomContext();
负载:
RoomsContext.Load(RoomsContext.GetTableQuery(), LoadBehavior.MergeIntoCurrent, onLoadOperationCompleted, new object());
错误:
错误2参数3:无法转换 从'方法组'到 'System.Action>' 错误1最佳重载方法 匹配 “System.ServiceModel.DomainServices.Client.DomainContext.Load(System.ServiceModel.DomainServices.Client.EntityQuery, System.ServiceModel.DomainServices.Client.LoadBehavior, System.Action>中 对象)'有一些无效的参数