示例#1
0
        public void Delete(int id)
        {
            var project = Get(id);

            if (project != null)
            {
                var builder = new SqlQueryBuilder <Project>(project);
                ExecuteCommand(builder.GetDeleteCommand());
            }
        }
示例#2
0
        public void Delete(int id)
        {
            var issue = Get(id);

            if (issue != null)
            {
                var builder = new SqlQueryBuilder <Issue>(issue);
                ExecuteCommand(builder.GetDeleteCommand());
            }
        }