public override void AfterConstruction() { base.AfterConstruction(); Person = new crmCPerson(this.Session); Party = new crmCParty(this.Session, null); this.ComponentType = typeof(crmCLegalPerson); this.CID = Guid.NewGuid(); this.Person.ComponentType = this.ComponentType; this.Person.CID = this.CID; this.Party.ComponentType = this.ComponentType; this.Party.CID = this.CID; this.Party.Person = Person; }
public override void AfterConstruction() { base.AfterConstruction(); Person = new crmCPerson(this.Session); // Party = new crmPartyRu(this.Session, null); // this.ComponentType = typeof(crmPhysicalPerson); this.CID = Guid.NewGuid(); this.Person.ComponentType = this.ComponentType; this.Person.CID = this.CID; // this.Party.ComponentType = this.ComponentType; // this.Party.CID = this.CID; }
public crmCParty(Session ses, crmCPerson person) : base(ses) { Person = person; }