コード例 #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);
        }
コード例 #2
0
 public void InsertShopSlot(Table.TblShopSlot tblShopSlot)
 {
     using (IDbConnection conn = Database.GetDbConnection())
         Dapper.Contrib.Extensions.SqlMapperExtensions.Insert(conn, tblShopSlot);
 }