public bool DeleteShopSlot(Table.TblShopSlot tblShopSlot) { bool ret; using (IDbConnection conn = Database.GetDbConnection()) ret = Dapper.Contrib.Extensions.SqlMapperExtensions.Delete(conn, tblShopSlot); return(ret); }
public void InsertShopSlot(Table.TblShopSlot tblShopSlot) { using (IDbConnection conn = Database.GetDbConnection()) Dapper.Contrib.Extensions.SqlMapperExtensions.Insert(conn, tblShopSlot); }