コード例 #1
0
        public static void ReCreateProcedureIfDeleteExists(dynamic dynamic)
        {
            SqlCommand command = new SqlCommand("", Connected.Connection);
            var        query   = DeleteProcedure.Delete(dynamic, "ALTER");

            Commond.ExecuteQueryForText(command, query);
        }
コード例 #2
0
        public static void Delete(dynamic dynamic)
        {
            var query = DeleteProcedure.Delete(dynamic, "Create");
            var data  = commoned(dynamic, query);

            if (data == false)
            {
                Tools.ReCreateProcedureIfDeleteExists(dynamic);
            }
        }