Esempio 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;
        }
Esempio n. 2
0
 public WithClause(string joinTable, PropertyReference joinProperty)
 {
     JoinOnTable = joinTable;
     JoinProperty = joinProperty;
 }
Esempio n. 3
0
 public void Add(PropertyReference reference)
 {
     Properties.Add(reference);
 }
Esempio n. 4
0
 protected ComparatorClause(PropertyReference prop, Comparison comp, object literal)
 {
     Property = prop;
     Comparison = comp;
     LiteralValue = literal;
 }
Esempio n. 5
0
 public UnwindClause(PropertyReference prop)
 {
     Property = prop;
 }
Esempio n. 6
0
 public GroupByClause(PropertyReference prop)
 {
     Property = prop;
 }