Ejemplo n.º 1
0
        public static PropertyReference GetReference(string col, string path, int line, int charPositionInLine)
        {
            var agg = col + "." + path;
            if (KnownReferences.ContainsKey(agg))
            {
                return KnownReferences[agg];
            }

            var propRef = new PropertyReference(col, path, line, charPositionInLine);
            KnownReferences.Add(agg, propRef);
            return propRef;
        }
Ejemplo n.º 2
0
 public WithClause(string joinTable, PropertyReference joinProperty)
 {
     JoinOnTable = joinTable;
     JoinProperty = joinProperty;
 }
Ejemplo n.º 3
0
 public void Add(PropertyReference reference)
 {
     Properties.Add(reference);
 }
Ejemplo n.º 4
0
 protected ComparatorClause(PropertyReference prop, Comparison comp, object literal)
 {
     Property = prop;
     Comparison = comp;
     LiteralValue = literal;
 }
Ejemplo n.º 5
0
 public UnwindClause(PropertyReference prop)
 {
     Property = prop;
 }
Ejemplo n.º 6
0
 public GroupByClause(PropertyReference prop)
 {
     Property = prop;
 }