Beispiel #1
0
 public static Expression SqlExpression(string s)
 {
     using (var stringReader = new StringReader(s)) {
         var parser = new PlSql(stringReader);
         return parser.SQLExpression();
     }
 }
Beispiel #2
0
 public static IEnumerable<Statement> Statements(string sql)
 {
     using (var stringReader = new StringReader(sql)) {
         var parser = new PlSql(stringReader);
         return parser.SequenceOfStatements();
     }
 }
 static SqlExecutor()
 {
     SqlParser = new PlSql(new StringReader(""));
 }