コード例 #1
0
ファイル: BidangBAL.cs プロジェクト: frostitvte/SAS
 public BidangEn GetSelectedBidang(string argEn)
 {
     try
     {
         BidangDAL loDs = new BidangDAL();
         return(loDs.GetSelectedBidang(argEn));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
コード例 #2
0
ファイル: BidangBAL.cs プロジェクト: frostitvte/SAS
 public List <BidangEn> GetBidangList(BidangEn argEn)
 {
     try
     {
         BidangDAL loDs = new BidangDAL();
         return(loDs.GetBidangList(argEn));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
コード例 #3
0
ファイル: BidangBAL.cs プロジェクト: frostitvte/SAS
        public bool Update(BidangEn argEn)
        {
            bool flag;

            using (TransactionScope ts = new TransactionScope())
            {
                try
                {
                    BidangDAL loDs = new BidangDAL();
                    flag = loDs.Update(argEn);
                    ts.Complete();
                }
                catch (Exception ex)
                {
                    throw ex;
                }
            }
            return(flag);
        }