Пример #1
0
	    public void Update(int Id,string Name,string Description)
        {
            Articlecategory item = new Articlecategory();
            item.MarkOld();
            item.IsLoaded = true;

            item.Id = Id;
            item.Name = Name;
            item.Description = Description;

            item.Save(UserName);
	    }
Пример #2
0
	    public void Insert(string Name,string Description,bool? Deleted,DateTime? Createdon,DateTime? Modifiedon,string Createdby,string Modifiedby)
	    {
		    Articlecategory item = new Articlecategory();
		    
            item.Name = Name;
            
            item.Description = Description;
            
            item.Deleted = Deleted;
            
            item.Createdon = Createdon;
            
            item.Modifiedon = Modifiedon;
            
            item.Createdby = Createdby;
            
            item.Modifiedby = Modifiedby;
            
	    
		    item.Save(UserName);
	    }
Пример #3
0
	    public void Update(int Id,string Name,string Description,bool? Deleted,DateTime? Createdon,DateTime? Modifiedon,string Createdby,string Modifiedby)
	    {
		    Articlecategory item = new Articlecategory();
	        item.MarkOld();
	        item.IsLoaded = true;
		    
			item.Id = Id;
				
			item.Name = Name;
				
			item.Description = Description;
				
			item.Deleted = Deleted;
				
			item.Createdon = Createdon;
				
			item.Modifiedon = Modifiedon;
				
			item.Createdby = Createdby;
				
			item.Modifiedby = Modifiedby;
				
	        item.Save(UserName);
	    }