private void DetachTicketAttachments(TicketAttachment entity)
 {
     entity.Ticket = null;
 }
 private bool FilterTicketAttachments(TicketAttachment entity)
 {
     return (entity.TicketId == this.TicketId);
 }
 private void AttachTicketAttachments(TicketAttachment entity)
 {
     entity.Ticket = this;
 }