Example #1
0
        public static void Remove(Gift gift)
        {
            const string query = "DELETE FROM inventory_items WHERE gift=@giftId";

            Base.Repository.ExecuteQuery(query, GameDbManager.GetDatabaseConnection(),
                (command) => command.Parameters.Add(new MySqlParameter("@id", gift.Id)));
        }
Example #2
0
 public static void Update(Gift gift)
 {
 }
Example #3
0
 public static void Create(Gift gift)
 {
 }