Exemplo n.º 1
0
        public bool DeleteShopSlot(Table.TblShopSlot tblShopSlot)
        {
            bool ret;

            using (IDbConnection conn = Database.GetDbConnection())
                ret = Dapper.Contrib.Extensions.SqlMapperExtensions.Delete(conn, tblShopSlot);

            return(ret);
        }
Exemplo n.º 2
0
 public void InsertShopSlot(Table.TblShopSlot tblShopSlot)
 {
     using (IDbConnection conn = Database.GetDbConnection())
         Dapper.Contrib.Extensions.SqlMapperExtensions.Insert(conn, tblShopSlot);
 }