/// <summary> /// Update entity in invoices /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='invoiceid'> /// key: invoiceid /// </param> /// <param name='body'> /// New property values /// </param> public static void Update(this IInvoices operations, string invoiceid, MicrosoftDynamicsCRMinvoice body) { operations.UpdateAsync(invoiceid, body).GetAwaiter().GetResult(); }