Пример #1
0
	    public void Insert(string BranchID,string MainUser,string DelegateUser)
	    {
		    SysDelegateUser item = new SysDelegateUser();
		    
            item.BranchID = BranchID;
            
            item.MainUser = MainUser;
            
            item.DelegateUser = DelegateUser;
            
	    
		    item.Save(UserName);
	    }
Пример #2
0
        public void Update(int Id,string BranchID,string MainUser,string DelegateUser)
        {
            SysDelegateUser item = new SysDelegateUser();
            item.MarkOld();
            item.IsLoaded = true;

            item.Id = Id;

            item.BranchID = BranchID;

            item.MainUser = MainUser;

            item.DelegateUser = DelegateUser;

            item.Save(UserName);
        }