public static bool isCustomerExis(int Customerid, string Customername) { Customerhistory his = CustomerhistoryDao.FindFirst(new EqExpression("Customerid", Customerid), new EqExpression("Customername", Customername), new EqExpression("Isdeleted", (int)EnmIsdeleted.使用中)); if (his != null) { return(true); } else { return(false); } }
public static void save(Customerhistory history) { history.Save(); }