Exemplo n.º 1
0
	    public void Insert(int? RoleId,string UserId,DateTime? CreatedDate)
	    {
		    SysScreen item = new SysScreen();
		    
            item.RoleId = RoleId;
            
            item.UserId = UserId;
            
            item.CreatedDate = CreatedDate;
            
	    
		    item.Save(UserName);
	    }
Exemplo n.º 2
0
        public void Update(int Id,int? RoleId,string UserId,DateTime? CreatedDate)
        {
            SysScreen item = new SysScreen();
            item.MarkOld();
            item.IsLoaded = true;

            item.Id = Id;

            item.RoleId = RoleId;

            item.UserId = UserId;

            item.CreatedDate = CreatedDate;

            item.Save(UserName);
        }