private async Task <DataServiceResponse> DeleteEntityAsync(Uri address, string entitySetName, UnicodeRouteTests_Todoü entity) { var context = CreateClient(address); context.AttachTo(entitySetName, entity); context.DeleteObject(entity); return(await context.SaveChangesAsync()); }
private async Task <QueryOperationResponse> LoadPropertyAsync(Uri address, string entitySetName, UnicodeRouteTests_Todoü entity, string propertyName) { var context = CreateClient(address); context.AttachTo(entitySetName, entity); return(await context.LoadPropertyAsync(entity, propertyName)); }