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