Exemplo n.º 1
0
 /// <summary>
 /// Get entity from invoices by key
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='invoiceid'>
 /// key: invoiceid of invoice
 /// </param>
 /// <param name='select'>
 /// Select properties to be returned
 /// </param>
 /// <param name='expand'>
 /// Expand related entities
 /// </param>
 public static MicrosoftDynamicsCRMinvoice GetByKey(this IInvoices operations, string invoiceid, IList <string> select = default(IList <string>), IList <string> expand = default(IList <string>))
 {
     return(operations.GetByKeyAsync(invoiceid, select, expand).GetAwaiter().GetResult());
 }