From: <fab...@us...> - 2009-01-31 13:02:28
|
Revision: 4008 http://nhibernate.svn.sourceforge.net/nhibernate/?rev=4008&view=rev Author: fabiomaulo Date: 2009-01-31 13:02:25 +0000 (Sat, 31 Jan 2009) Log Message: ----------- Fix indentation and xml comment Modified Paths: -------------- trunk/nhibernate/src/NHibernate/IQuery.cs Modified: trunk/nhibernate/src/NHibernate/IQuery.cs =================================================================== --- trunk/nhibernate/src/NHibernate/IQuery.cs 2009-01-30 17:41:12 UTC (rev 4007) +++ trunk/nhibernate/src/NHibernate/IQuery.cs 2009-01-31 13:02:25 UTC (rev 4008) @@ -64,7 +64,7 @@ /// <summary> Return the HQL select clause aliases (if any)</summary> /// <returns> an array of aliases as strings </returns> - string[] ReturnAliases{get;} + string[] ReturnAliases { get; } /// <summary> /// The names of all named parameters of the query @@ -585,21 +585,22 @@ /// </summary> IQuery SetResultTransformer(IResultTransformer resultTransformer); - /// <summary> - /// Get a enumerable that when enumerated will execute - /// a batch of queries in a single database roundtrip - /// </summary> - /// <typeparam name="T"></typeparam> - /// <returns></returns> - IEnumerable<T> Future<T>(); + /// <summary> + /// Get a enumerable that when enumerated will execute + /// a batch of queries in a single database roundtrip + /// </summary> + /// <typeparam name="T"></typeparam> + /// <returns></returns> + IEnumerable<T> Future<T>(); - /// Get an IFutureValue instance, whose value can be retrieved through - /// its Value property. The query is not executed until the Value property - /// is retrieved, which will execute other Future queries as well in a - /// single roundtrip - /// </summary> - /// <typeparam name="T"></typeparam> - /// <returns></returns> - IFutureValue<T> FutureValue<T>(); + /// <summary> + /// Get an IFutureValue instance, whose value can be retrieved through + /// its Value property. The query is not executed until the Value property + /// is retrieved, which will execute other Future queries as well in a + /// single roundtrip + /// </summary> + /// <typeparam name="T"></typeparam> + /// <returns></returns> + IFutureValue<T> FutureValue<T>(); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jul...@us...> - 2010-10-24 00:54:28
|
Revision: 5252 http://nhibernate.svn.sourceforge.net/nhibernate/?rev=5252&view=rev Author: julian-maughan Date: 2010-10-24 00:54:21 +0000 (Sun, 24 Oct 2010) Log Message: ----------- Comment improvements: fixed typo, 'Hibernate' replaced with 'NHibernate' Modified Paths: -------------- trunk/nhibernate/src/NHibernate/IQuery.cs Modified: trunk/nhibernate/src/NHibernate/IQuery.cs =================================================================== --- trunk/nhibernate/src/NHibernate/IQuery.cs 2010-10-14 16:42:37 UTC (rev 5251) +++ trunk/nhibernate/src/NHibernate/IQuery.cs 2010-10-24 00:54:21 UTC (rev 5252) @@ -15,11 +15,11 @@ /// <c>ISession.List()</c>; /// <list> /// <item> - /// A particulare page of the result set may be selected by calling + /// A particular page of the result set may be selected by calling /// <c>SetMaxResults()</c>, <c>SetFirstResult()</c>. The generated sql /// depends on the capabilities of the <see cref="Dialect.Dialect"/>. Some /// Dialects are for databases that have built in paging (LIMIT) and those capabilities - /// will be used to limit the number of records returned by the sql statement. + /// will be used to limit the number of records returned by the sql statement. /// If the database does not support LIMITs then all of the records will be returned, /// but the objects created will be limited to the specific results requested. /// </item> @@ -58,7 +58,7 @@ string QueryString { get; } /// <summary> - /// The Hibernate types of the query result set. + /// The NHibernate types of the query result set. /// </summary> IType[] ReturnTypes { get; } @@ -79,7 +79,7 @@ /// <remarks> /// <p> /// Entities returned as results are initialized on demand. The first SQL query returns - /// identifiers only. + /// identifiers only. /// </p> /// <p> /// This is a good strategy to use if you expect a high number of the objects @@ -132,7 +132,7 @@ /// </summary> T UniqueResult<T>(); - /// <summary> + /// <summary> /// Execute the update or delete statement. /// </summary> /// <returns> The number of entities updated or deleted. </returns> @@ -150,10 +150,10 @@ /// <param name="firstResult">The first row to retreive.</param> IQuery SetFirstResult(int firstResult); - /// <summary> - /// Entities retrieved by this query will be loaded in - /// a read-only mode where Hibernate will never dirty-check - /// them or make changes persistent. + /// <summary> + /// Entities retrieved by this query will be loaded in + /// a read-only mode where NHibernate will never dirty-check + /// them or make changes persistent. /// </summary> IQuery SetReadOnly(bool readOnly); @@ -205,7 +205,7 @@ /// </summary> /// <param name="position">Position of the parameter in the query, numbered from <c>0</c></param> /// <param name="val">The possibly null parameter value</param> - /// <param name="type">The Hibernate type</param> + /// <param name="type">The NHibernate type</param> IQuery SetParameter(int position, object val, IType type); /// <summary> @@ -233,7 +233,7 @@ IQuery SetParameter<T>(string name, T val); /// <summary> - /// Bind a value to an indexed parameter, guessing the Hibernate type from + /// Bind a value to an indexed parameter, guessing the NHibernate type from /// the class of the given object. /// </summary> /// <param name="position">The position of the parameter in the query, numbered from <c>0</c></param> @@ -254,11 +254,11 @@ /// </summary> /// <param name="name">The name of the parameter</param> /// <param name="vals">A collection of values to list</param> - /// <param name="type">The Hibernate type of the values</param> + /// <param name="type">The NHibernate type of the values</param> IQuery SetParameterList(string name, ICollection vals, IType type); /// <summary> - /// Bind multiple values to a named query parameter, guessing the Hibernate + /// Bind multiple values to a named query parameter, guessing the NHibernate /// type from the class of the first object in the collection. This is useful for binding a list /// of values to an expression such as <c>foo.bar in (:value_list)</c> /// </summary> @@ -266,18 +266,18 @@ /// <param name="vals">A collection of values to list</param> IQuery SetParameterList(string name, ICollection vals); - /// <summary> + /// <summary> /// Bind multiple values to a named query parameter. This is useful for binding /// a list of values to an expression such as <tt>foo.bar in (:value_list)</tt>. /// </summary> /// <param name="name">the name of the parameter </param> /// <param name="vals">a collection of values to list </param> - /// <param name="type">the Hibernate type of the values </param> + /// <param name="type">the NHibernate type of the values </param> IQuery SetParameterList(string name, object[] vals, IType type); - /// <summary> - /// Bind multiple values to a named query parameter. The Hibernate type of the parameter is - /// first detected via the usage/position in the query and if not sufficient secondly + /// <summary> + /// Bind multiple values to a named query parameter. The NHibernate type of the parameter is + /// first detected via the usage/position in the query and if not sufficient secondly /// guessed from the class of the first object in the array. This is useful for binding a list of values /// to an expression such as <tt>foo.bar in (:value_list)</tt>. /// </summary> @@ -288,7 +288,7 @@ /// <summary> /// Bind the property values of the given object to named parameters of the query, /// matching property names with parameter names and mapping property types to - /// Hibernate types using heuristics. + /// NHibernate types using heuristics. /// </summary> /// <param name="obj">Any PONO</param> IQuery SetProperties(object obj); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |