コード例 #1
0
ファイル: PropertyReference.cs プロジェクト: hudl/qupid
        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
ファイル: ComparatorClause.cs プロジェクト: hudl/qupid
 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;
 }