diff --git a/src/Orchard/ContentManagement/IHqlQuery.cs b/src/Orchard/ContentManagement/IHqlQuery.cs index 6b3818343..c726ce1e6 100644 --- a/src/Orchard/ContentManagement/IHqlQuery.cs +++ b/src/Orchard/ContentManagement/IHqlQuery.cs @@ -48,45 +48,5 @@ namespace Orchard.ContentManagement { void Asc(string propertyName); void Desc(string propertyName); } - - /* - * - * query // IHqlQuery - * .Join().As("route") // IAlias(query), IAlias(query), IAlias(query) alias name is implicit, there can't be any conflict - * x => x.Where(route => route. - * ) - * - * query.Join< - * - * query: IAlias - * - * - * IHqlQuery ONLY, because we can have by default, and the Records can't be used in expression though, thus having them - * in the generic type is useless. _manager.HqlQuery() will create a new query then apply ForPart - * - * .Join is only valid for ContentPartRecord because they will resolve the fake civ.{TRecord} property - * .Where is only valid for ContentPartRecord because they will resolve the fake civ.{TRecord} property - * .Where( on => on.Named("foo"), x => x.Eq("Id", 1)) - * - * - * .Join( on => on.ContentPartRecord().Property("IntegerFieldIndexRecords", alias: "integerFields") - * .Where( on => on.Named("foo"), x => x.Eq("Id", 1)) - * .Where( on => on.ContentPartRecord(), x => x.Eq("Id", 1)) - * - * - * Join(Action alias) - * Where(Action alias, Action predicate) - * - * Thus we can create aliases directly from the Where() - * - * IAlias { - * ContentPartRecord() where TRecord : ContentPartRecord - * Property(string propertyName, string alias) - * Named(string alias) // returns an existing alias - * - * } - */ - - }