示例#1
0
        public int DeleteModelById(int id, bool commit = false)
        {
            T model = sqlDataManager.FindById(id);

            if (model != null)
            {
                return(DeleteModel(model));
            }
            return(0);
        }