Пример #1
0
        public override object  Clone(string sNodeName)
        {
            WorkerRestrictions Col = new  WorkerRestrictions();

            foreach (WorkerRestriction objMember in this)
            {
                Col.Add((WorkerRestriction)objMember.Clone(sNodeName));
            }
            return(Col);
        }
Пример #2
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();
 }