Exemple #1
0
 public override NLinq.Expressions.QueryBodyClause Visit(NLinq.Expressions.FromClause expression)
 {
     if (!inQueryBodyClauses)
     {
         uri = new RootContainerExpression() { Type = expression.Type };
         identifiers.Add(expression.Identifier.Text, uri);
     }
     else
     {
         inFrom = true;
         currentProperty = new PropertyExpression();
         identifiers.Add(expression.Identifier.Text, currentProperty);
         Visit(expression.Expression);
         inFrom = false;
     }
     return expression;
 }
Exemple #2
0
 public AtomLink(string type, string id)
 {
     Value = new RootContainerExpression() { Name = type, Id = id };
 }
Exemple #3
0
 public AtomLink(string contentId)
 {
     Value = new RootContainerExpression() { Name = contentId };
 }