/// <summary> find all the contact organizations associated with a ticket </summary>
 public static OrganizationTicketModel[] GetOrganizationTickets(TicketModel ticket)
 {
     //$"Select OrganizationID From OrganizationTickets WITH (NOLOCK) WHERE TicketId = {ticket.TicketID}"
     int[] customerIDs = IDReader.Read(TicketChild.Customers, ticket);
     OrganizationTicketModel[] organizationTickets = new OrganizationTicketModel[customerIDs.Length];
     for (int i = 0; i < customerIDs.Length; ++i)
     {
         organizationTickets[i] = new OrganizationTicketModel(ticket, new OrganizationModel(ticket.Connection, customerIDs[i]), false);
     }
     return(organizationTickets);
 }
 public OrganizationTicketModel[] OrganizationTickets()
 {
     return(OrganizationTicketModel.GetOrganizationTickets(this));
 }