Beispiel #1
0
 public bool insertShopCollectTime(ShopCollectTime obj)
 {
     if (SqlDbmanager.ExecuteNonQry(SqlExtension.GetInsertSqlCmd("ShopCollectTime", obj)))
     {
         return(true);
     }
     return(false);
 }
Beispiel #2
0
        public int insertShopCollectTime(List <ShopCollectTime> times)
        {
            var cmdList = new List <SqlCommand>();

            foreach (var time in times)
            {
                cmdList.Add(SqlExtension.GetInsertSqlCmd("ShopCollectTime", time));
            }
            return(SqlDbmanager.ExecuteNonQryMutiSqlCmd(cmdList));
        }
Beispiel #3
0
        public int insertShopCollectDaily(List <ShopCollectDaily> shopCollects)
        {
            var cmdList = new List <SqlCommand>();

            foreach (var shopcollect in shopCollects)
            {
                cmdList.Add(SqlExtension.GetInsertSqlCmd("ShopCollectDaily", shopcollect));
            }
            return(SqlDbmanager.ExecuteNonQryMutiSqlCmd(cmdList));
        }