Пример #1
0
        public override SbnObject Clone(string sNodeName)
        {
            WFPerson retObject = new WFPerson();

            retObject.ID        = this.ID;
            retObject.FirstName = this._FirstName;
            retObject.SurName   = this._SurName;
            if (this._Picture != null)
            {
                retObject.Picture = (byte[])this._Picture.Clone();
            }
            if (this._Signature != null)
            {
                retObject.Signature = (byte[])this._Signature.Clone();
            }
            if (!object.ReferenceEquals(this.Workers, null))
            {
                retObject.Workers = (Workers)this.Workers.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.Sex, null))
            {
                retObject.Sex = (BasicInfoDetail)this.Sex.Clone(sNodeName);
            }
            return(retObject);
        }
Пример #2
0
 public override void Initialize()
 {
     base.Initialize();
     this._Username    = "";
     this._Password    = "";
     this._Description = "";
     this._CoPerson    = new WFPerson();
 }
Пример #3
0
 public override void Initialize()
 {
     base.Initialize();
     this._CoDocType  = new DocumentType();
     this._CoFolder   = new Folder();
     this._CoDocument = new Document();
     this._CoPerson   = new WFPerson();
 }
Пример #4
0
 public override void Initialize()
 {
     base.Initialize();
     this._BusinessDocumentCode = 0;
     this._AttributeValues      = new DocumentPropValues();
     this._DocumentType         = new DocumentType();
     this._Activities           = new Activities();
     this._OwnerOrgan           = new OrgUnit();
     this._CreatorPerson        = new WFPerson();
 }
Пример #5
0
 public override void Initialize()
 {
     base.Initialize();
     this._StartWorkDate = "";
     this._EndWorkDate   = "";
     this._IconStream    = new byte[1];
     this._CoPosition    = new OrgPosition();
     this._Restrictions  = new WorkerRestrictions();
     this._CoPerson      = new WFPerson();
     this._Accessrights  = new WorkerAccessrights();
     this._IsActive      = SbnBoolean.OutOfValue;
     this._WorkerJob     = new BasicInfoDetail();
     this._CoRoles       = new WFRoles();
 }
Пример #6
0
 public override void Initialize()
 {
     base.Initialize();
     this._CoPerson = new WFPerson();
     this._TextType = new BasicInfoDetail();
 }