コード例 #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);
	    }