Exemplo n.º 1
0
        public KdPgColumnDescriptor(string name, KDPgColumnFlagsEnum flags, KDPgValueType type, PropertyInfo propertyInfo, KdPgTableDescriptor table)
        {
            Name         = name;
            Flags        = flags;
            Type         = type;
            PropertyInfo = propertyInfo;
            Table        = table;

            var rq = new RawQuery();

            rq.AppendColumn(this, new RawQuery.TableNamePlaceholder(table, table.Name));
            TypedExpression = new TypedExpression(rq, type);
        }
Exemplo n.º 2
0
 public TableNamePlaceholder(KdPgTableDescriptor table, string name)
 {
     Table = table;
     Name  = name;
 }