Esempio n. 1
0
        public StringBuilder Visit(ForeignOnDeleteNode foreignOnDeleteNode)
        {
            var sb = new StringBuilder();

            sb.Append("ON DELETE ");
            AppendDeleteOrUpdateAction(sb, foreignOnDeleteNode.Action);

            return(sb);
        }
Esempio n. 2
0
        public override SQLiteParseTreeNode VisitForeign_key_clause__on_delete(SQLiteParserSimpleParser.Foreign_key_clause__on_deleteContext context)
        {
            var ret = new ForeignOnDeleteNode(context)
            {
                Action = ParseCommonDeleteUpdateAction(context)
            };

            return(ret);
        }