Exemplo n.º 1
0
        public void Delete(Category category)
        {
            var builder = new SqlQueryBuilder <Category>(category);

            ExecuteCommand(builder.GetDeleteCommand());
        }
Exemplo n.º 2
0
        public void Add(Category category)
        {
            var builder = new SqlQueryBuilder <Category>(category);

            ExecuteCommand(builder.GetInsertCommand());
        }