예제 #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));
 }