Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
        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;
        }
Ejemplo n.º 3
0
 public crmCParty(Session ses, crmCPerson person) : base(ses)
 {
     Person = person;
 }