Example #1
0
            public override SqlTypeResolveInfo VisitColumnRefType(PlSqlParser.ColumnRefTypeContext context)
            {
                var fieldName = SqlParseName.Object(context.objectName());

                return(new SqlTypeResolveInfo("%TYPE",
                                              new Dictionary <string, object> {
                    { "FieldName", fieldName.FullName }
                }));
            }
Example #2
0
        public override DataTypeInfo VisitColumnRefType(PlSqlParser.ColumnRefTypeContext context)
        {
            var fieldName = Name.Object(context.objectName());

            return(new DataTypeInfo("%TYPE", new [] { new DataTypeMeta("FieldName", fieldName.FullName) }));
        }