Пример #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;
 }
Пример #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;
        }
Пример #3
0
 public crmCParty(Session ses, crmCPerson person) : base(ses)
 {
     Person = person;
 }