示例#1
0
        public bool InsertBuySell(BuyAndSell bs)
        {
            int value = _connection.Insert(bs);

            if (value == 1)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
示例#2
0
 public void DeleteBuyAndSell(BuyAndSell bs)
 {
     _connection.Delete(bs);
 }