コード例 #1
0
ファイル: ModelExtendtion.cs プロジェクト: thachgiasoft/Code
 public static bool CheckHuyApDung(this DM_THUOC_BV model)
 {
     if (model.HIEULUC == true && model.TRANGTHAI == 2)
     {
         return(true);
     }
     return(false);
 }
コード例 #2
0
ファイル: ModelExtendtion.cs プロジェクト: thachgiasoft/Code
 public static bool CheckApDung(this DM_THUOC_BV model)
 {
     if (model.KETQUA == 2 && (model.AX_CD == true || model.AX_TD == true) && model.HIEULUC != true)
     {
         return(true);
     }
     return(false);
 }