예제 #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
파일: PropertyList.cs 프로젝트: hudl/qupid
 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
파일: UnwindClause.cs 프로젝트: hudl/qupid
 public UnwindClause(PropertyReference prop)
 {
     Property = prop;
 }
예제 #6
0
파일: GroupByClause.cs 프로젝트: hudl/qupid
 public GroupByClause(PropertyReference prop)
 {
     Property = prop;
 }