/// <summary>
 /// Add reference to adoxio_workers
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='incidentId'>
 /// key: adoxio_workerid
 /// </param>
 /// <param name='fieldname'>
 /// key: fieldname
 /// </param>
 /// <param name='odataid'>
 /// reference value
 /// </param>
 public static void AddReference(this IIncidents operations, string incidentId, string fieldname, OdataId odataid = default(OdataId))
 {
     operations.AddReferenceAsync(incidentId, fieldname, odataid).GetAwaiter().GetResult();
 }