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