/// <summary> /// Get entity from bcgov_roles by key /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='bcgovRoleid'> /// key: bcgov_roleid /// </param> /// <param name='select'> /// Select properties to be returned /// </param> /// <param name='expand'> /// Expand related entities /// </param> public static MicrosoftDynamicsCRMbcgovRole GetByKey(this IRoles operations, string bcgovRoleid, IList <string> select = default(IList <string>), IList <string> expand = default(IList <string>)) { return(operations.GetByKeyAsync(bcgovRoleid, select, expand).GetAwaiter().GetResult()); }