public bool ExistsExcept(Book.Model.CustomerProducts e)
        {
            Hashtable paras = new Hashtable();

            paras.Add("newId", e.CustomerProductId);
            paras.Add("oldId", Get(e.PrimaryKeyId).CustomerProductId);
            return(sqlmapper.QueryForObject <bool>("CustomerProducts.existsexcept", paras));
        }
Exemple #2
0
 public bool ExistsExcept(Book.Model.CustomerProducts customerProducts)
 {
     return(accessor.ExistsExcept(customerProducts));
 }
Exemple #3
0
 private bool Exists(Book.Model.CustomerProducts customerProducts)
 {
     return(accessor.Exists(customerProducts));
 }
 public bool Exists(Book.Model.CustomerProducts customerProducts)
 {
     return(sqlmapper.QueryForObject <bool>("CustomerProducts.exists_by_customerId_productId_customerproductId", customerProducts));
 }
Exemple #5
0
 public IList <Book.Model.CustomerProductProcess> SelectProcessCategory(Book.Model.CustomerProducts customerProducts)
 {
     return(accessor.SelectProcessCategory(customerProducts));
 }