/// <summary> /// Get business_unit_adoxio_eventlocation from businessunits /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='businessunitid'> /// key: businessunitid of businessunit /// </param> /// <param name='adoxioEventlocationid'> /// key: adoxio_eventlocationid of adoxio_eventlocation /// </param> /// <param name='select'> /// Select properties to be returned /// </param> /// <param name='expand'> /// Expand related entities /// </param> public static MicrosoftDynamicsCRMadoxioEventlocation EventlocationByKey(this IBusinessunitadoxioeventlocation operations, string businessunitid, string adoxioEventlocationid, IList <string> select = default(IList <string>), IList <string> expand = default(IList <string>)) { return(operations.EventlocationByKeyAsync(businessunitid, adoxioEventlocationid, select, expand).GetAwaiter().GetResult()); }