コード例 #1
0
 /// <summary>
 /// Constructor to add a Subentrepeneur from Db to List
 /// </summary>
 /// <param name="id">int</param>
 /// <param name="entrepeneur">LegalEntity</param>
 /// <param name="enterprise">Enterprise</param>
 /// <param name="contact">Contact</param>
 /// <param name="request">Request</param>
 /// <param name="ittLetter">IttLetter</param>
 /// <param name="offer">Offer</param>
 /// <param name="reservations">bool</param>
 /// <param name="uphold">bool</param>
 /// <param name="agreementConcluded">bool</param>
 /// <param name="active">bool</param>
 public SubEntrepeneur(int id, Entrepeneur entrepeneur, Enterprise enterprise, Contact contact, Request request, IttLetter ittLetter, Offer offer, bool reservations, bool uphold, bool agreementConcluded, bool active)
 {
     this.id                 = id;
     this.entrepeneur        = entrepeneur;
     this.enterprise         = enterprise;
     this.contact            = contact;
     this.request            = request;
     this.ittLetter          = ittLetter;
     this.offer              = offer;
     this.reservations       = reservations;
     this.uphold             = uphold;
     this.agreementConcluded = agreementConcluded;
     this.active             = active;
 }
コード例 #2
0
 /// <summary>
 /// Constructor, that accepts data from an existing Indexed SubEntrepeneur
 /// </summary>
 /// <param name="subEntrepeneur">IndexedSubEntrepeneur</param>
 public SubEntrepeneur(IndexedSubEntrepeneur subEntrepeneur)
 {
     this.id                 = subEntrepeneur.Id;
     this.entrepeneur        = subEntrepeneur.Entrepeneur;
     this.enterprise         = subEntrepeneur.Enterprise;
     this.contact            = subEntrepeneur.Contact;
     this.request            = subEntrepeneur.Request;
     this.ittLetter          = subEntrepeneur.IttLetter;
     this.offer              = subEntrepeneur.Offer;
     this.reservations       = subEntrepeneur.Reservations;
     this.uphold             = subEntrepeneur.Uphold;
     this.agreementConcluded = subEntrepeneur.AgreementConcluded;
     this.active             = subEntrepeneur.Active;
 }
コード例 #3
0
 /// <summary>
 /// Empty constructor
 /// </summary>
 public SubEntrepeneur()
 {
     this.id                 = 0;
     this.enterprise         = new Enterprise();
     this.entrepeneur        = new Entrepeneur();
     this.contact            = new Contact();
     this.request            = new Request();
     this.ittLetter          = new IttLetter();
     this.offer              = new Offer();
     this.reservations       = false;
     this.uphold             = false;
     this.agreementConcluded = false;
     this.active             = false;
 }
コード例 #4
0
 /// <summary>
 /// Constructor, that accepts data from an existing Itt Letter
 /// </summary>
 /// <param name="ittLetter">IttLetter</param>
 public IttLetter(IttLetter ittLetter)
 {
     this.id       = ittLetter.Id;
     this.sent     = ittLetter.Sent;
     this.sentDate = ittLetter.SentDate;
 }