Beispiel #1
0
 /// <summary>
 /// Get bcgov_ActRegulationReference from bcgov_inspectionchecklists
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='bcgovInspectionchecklistid'>
 /// key: bcgov_inspectionchecklistid of bcgov_inspectionchecklist
 /// </param>
 /// <param name='select'>
 /// Select properties to be returned
 /// </param>
 /// <param name='expand'>
 /// Expand related entities
 /// </param>
 public static MicrosoftDynamicsCRMbcgovActregulationreference Get1(this IActregulationreference operations, string bcgovInspectionchecklistid, IList <string> select = default(IList <string>), IList <string> expand = default(IList <string>))
 {
     return(operations.Get1Async(bcgovInspectionchecklistid, select, expand).GetAwaiter().GetResult());
 }
Beispiel #2
0
 /// <summary>
 /// Get bcgov_ActRegulationReference from bcgov_complaintchecklists
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='bcgovComplaintchecklistid'>
 /// key: bcgov_complaintchecklistid of bcgov_complaintchecklist
 /// </param>
 /// <param name='select'>
 /// Select properties to be returned
 /// </param>
 /// <param name='expand'>
 /// Expand related entities
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <MicrosoftDynamicsCRMbcgovActregulationreference> GetAsync(this IActregulationreference operations, string bcgovComplaintchecklistid, IList <string> select = default(IList <string>), IList <string> expand = default(IList <string>), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetWithHttpMessagesAsync(bcgovComplaintchecklistid, select, expand, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }