예제 #1
0
	    public void Insert(string MaLoai,string TenLoai,int? Stt)
	    {
		    DKieuDmucChung item = new DKieuDmucChung();
		    
            item.MaLoai = MaLoai;
            
            item.TenLoai = TenLoai;
            
            item.Stt = Stt;
            
	    
		    item.Save(UserName);
	    }
예제 #2
0
	    public void Update(string MaLoai,string TenLoai,int? Stt)
	    {
		    DKieuDmucChung item = new DKieuDmucChung();
	        item.MarkOld();
	        item.IsLoaded = true;
		    
			item.MaLoai = MaLoai;
				
			item.TenLoai = TenLoai;
				
			item.Stt = Stt;
				
	        item.Save(UserName);
	    }