Removing comments from IHqlQuery.cs

--HG--
branch : 1.x
This commit is contained in:
Sebastien Ros
2011-12-12 17:58:43 -08:00
parent 67fae9e19f
commit eca67d75ff

View File

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