Esempio n. 1
0
        public override void EnterColumn_name_list(TSqlParser.Column_name_listContext context)
        {
            string debug = context.GetText();

            Console.WriteLine("EnterColumn_name_list:");
            Console.WriteLine(debug);
            Console.WriteLine("---");
        }
Esempio n. 2
0
    public override void EnterColumn_name_list(TSqlParser.Column_name_listContext context)
    {
        base.EnterColumn_name_list(context);

        if (IsStatementInsert())
        {
            var statement = GetStatementAsInsert();
            statement.ColumnNames.AddRange(context.GetText().Split(",").ToList());
        }
    }