Esempio n. 1
0
 protected virtual SqlStatement VisitDropProcedure(DropProcedureStatement statement)
 {
     return(new DropProcedureStatement(statement.ProcedureName)
     {
         IfExists = statement.IfExists
     });
 }
Esempio n. 2
0
        public static void DropProcedure_IfExists()
        {
            var statement = new DropProcedureStatement(ObjectName.Parse("proc2"), true);

            var sql = statement.ToString();
            var expected = "DROP PROCEDURE IF EXISTS proc2";

            Assert.AreEqual(expected, sql);
        }
        public static void DropProcedure_IfExists()
        {
            var statement = new DropProcedureStatement(ObjectName.Parse("proc2"), true);

            var sql      = statement.ToString();
            var expected = "DROP PROCEDURE IF EXISTS proc2";

            Assert.AreEqual(expected, sql);
        }
Esempio n. 4
0
 protected override SqlStatement VisitDropProcedure(DropProcedureStatement statement)
 {
     return(base.VisitDropProcedure(statement));
 }
Esempio n. 5
0
 protected virtual SqlStatement VisitDropProcedure(DropProcedureStatement statement)
 {
     return new DropProcedureStatement(statement.ProcedureName) {
         IfExists = statement.IfExists
     };
 }
Esempio n. 6
0
 protected override SqlStatement VisitDropProcedure(DropProcedureStatement statement)
 {
     return base.VisitDropProcedure(statement);
 }