示例#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;
        }
示例#2
0
文件: WithClause.cs 项目: hudl/qupid
 public WithClause(string joinTable, PropertyReference joinProperty)
 {
     JoinOnTable = joinTable;
     JoinProperty = joinProperty;
 }
示例#3
0
 public void Add(PropertyReference reference)
 {
     Properties.Add(reference);
 }
示例#4
0
 protected ComparatorClause(PropertyReference prop, Comparison comp, object literal)
 {
     Property = prop;
     Comparison = comp;
     LiteralValue = literal;
 }
示例#5
0
 public UnwindClause(PropertyReference prop)
 {
     Property = prop;
 }
示例#6
0
 public GroupByClause(PropertyReference prop)
 {
     Property = prop;
 }