示例#1
0
 protected override SubmitCompletedResult EndSubmitCore(IAsyncResult asyncResult)
 {
     return(TaskExtensions.EndApm <SubmitCompletedResult>(asyncResult));
 }
示例#2
0
 protected override void CancelSubmitCore(IAsyncResult asyncResult)
 {
     TaskExtensions.CancelApm <SubmitCompletedResult>(asyncResult);
 }
示例#3
0
 protected override IAsyncResult BeginSubmitCore(EntityChangeSet changeSet, AsyncCallback callback, object userState)
 {
     return(TaskExtensions.BeginApm(ct => SubmitCoreAsync(changeSet, ct), callback, userState));
 }
示例#4
0
 protected override QueryCompletedResult EndQueryCore(IAsyncResult asyncResult)
 {
     return(TaskExtensions.EndApm <QueryCompletedResult>(asyncResult));
 }
示例#5
0
 protected override IAsyncResult BeginQueryCore(EntityQuery query, AsyncCallback callback, object userState)
 {
     return(TaskExtensions.BeginApm(ct => QueryCoreAsync(query, ct), callback, userState));
 }
示例#6
0
 protected override InvokeCompletedResult EndInvokeCore(IAsyncResult asyncResult)
 {
     return(TaskExtensions.EndApm <InvokeCompletedResult>(asyncResult));
 }
示例#7
0
 protected override IAsyncResult BeginInvokeCore(InvokeArgs invokeArgs, AsyncCallback callback, object userState)
 {
     return(TaskExtensions.BeginApm(ct => InvokeCoreAsync(invokeArgs, ct), callback, userState));
 }