Inheritance: HqlStatement
Esempio n. 1
0
        public HqlFrom From(HqlRange range, IEnumerable <HqlJoin> joins)
        {
            var hqlFrom = new HqlFrom(_factory, range);

            foreach (var join in joins)
            {
                hqlFrom.AddChild(join);
            }
            return(hqlFrom);
        }
Esempio n. 2
0
        public HqlFrom From(HqlRange range, params HqlJoin[] joins)
        {
            var hqlFrom = new HqlFrom(_factory, range);

            foreach (var join in joins)
            {
                hqlFrom.AddChild(join);
            }
            return(hqlFrom);
        }
Esempio n. 3
0
		public HqlSelectFrom SelectFrom(HqlFrom @from)
		{
			return new HqlSelectFrom(_factory, @from);
		}
Esempio n. 4
0
		public HqlSelectFrom SelectFrom(HqlFrom @from, HqlSelect select)
		{
			return new HqlSelectFrom(_factory, @from, select);
		}
Esempio n. 5
0
 public HqlSelectFrom SelectFrom(HqlFrom @from)
 {
     return(new HqlSelectFrom(_factory, @from));
 }
Esempio n. 6
0
 public HqlSelectFrom SelectFrom(HqlFrom @from, HqlSelect select)
 {
     return(new HqlSelectFrom(_factory, @from, select));
 }
Esempio n. 7
0
 public HqlUpdate Update(HqlVersioned versioned, HqlFrom @from, HqlSet set)
 {
     return(new HqlUpdate(_factory, versioned, @from, set));
 }
Esempio n. 8
0
 public HqlUpdate Update(HqlFrom @from, HqlSet set)
 {
     return(new HqlUpdate(_factory, @from, set));
 }
Esempio n. 9
0
 public HqlDelete Delete(HqlFrom @from)
 {
     return(new HqlDelete(_factory, @from));
 }
Esempio n. 10
0
		public override void VisitMainFromClause(MainFromClause fromClause, QueryModel queryModel)
		{
			var visitor = new HqlGeneratorExpressionTreeVisitor(_parameterAggregator);
			visitor.Visit(fromClause.FromExpression);

			_fromClause = _hqlTreeBuilder.From(
				_hqlTreeBuilder.Range(
					visitor.GetHqlTreeNodes().Single(),
					_hqlTreeBuilder.Alias(fromClause.ItemName)));

			base.VisitMainFromClause(fromClause, queryModel);
		}