/// <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; }
/// <summary> /// Constructor to add a new Indexed SubEntrepeneur /// </summary> /// <param name="subEntrepeneur">IndexedSubEntrepeneur</param> public IndexedSubEntrepeneur(IndexedSubEntrepeneur subEntrepeneur) : base(subEntrepeneur) { this.index = subEntrepeneur.Index; }