From: Michael D. <mik...@us...> - 2005-01-16 14:43:10
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Id In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18961/NHibernate/Id Modified Files: IPersistentIdentifierGenerator.cs SequenceGenerator.cs TableGenerator.cs Log Message: updated the xml comments. Index: TableGenerator.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Id/TableGenerator.cs,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** TableGenerator.cs 15 Jan 2005 21:16:13 -0000 1.13 --- TableGenerator.cs 16 Jan 2005 14:43:00 -0000 1.14 *************** *** 198,206 **** #endregion /// <summary> ! /// /// </summary> ! /// <param name="dialect"></param> ! /// <returns></returns> public string[ ] SqlCreateStrings( Dialect.Dialect dialect ) { --- 198,212 ---- #endregion + #region IPersistentIdentifierGenerator Members + /// <summary> ! /// The SQL required to create the database objects for a TableGenerator. /// </summary> ! /// <param name="dialect">The <see cref="Dialect.Dialect"/> to help with creating the sql.</param> ! /// <returns> ! /// An array of <see cref="String"/> objects that contain the Dialect specific sql to ! /// create the necessary database objects and to create the first value as <c>1</c> ! /// for the TableGenerator. ! /// </returns> public string[ ] SqlCreateStrings( Dialect.Dialect dialect ) { *************** *** 216,223 **** /// <summary> ! /// /// </summary> ! /// <param name="dialect"></param> ! /// <returns></returns> public string SqlDropString( Dialect.Dialect dialect ) { --- 222,231 ---- /// <summary> ! /// The SQL required to remove the underlying database objects for a TableGenerator. /// </summary> ! /// <param name="dialect">The <see cref="Dialect.Dialect"/> to help with creating the sql.</param> ! /// <returns> ! /// A <see cref="String"/> that will drop the database objects for the TableGenerator. ! /// </returns> public string SqlDropString( Dialect.Dialect dialect ) { *************** *** 225,233 **** } ! /// <summary></summary> public object GeneratorKey() { return tableName; } } --- 233,248 ---- } ! /// <summary> ! /// Return a key unique to the underlying database objects for a TableGenerator. ! /// </summary> ! /// <returns> ! /// The configured table name. ! /// </returns> public object GeneratorKey() { return tableName; } + + #endregion } Index: SequenceGenerator.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Id/SequenceGenerator.cs,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** SequenceGenerator.cs 15 Jan 2005 21:16:13 -0000 1.8 --- SequenceGenerator.cs 16 Jan 2005 14:43:00 -0000 1.9 *************** *** 108,116 **** #endregion /// <summary> ! /// /// </summary> ! /// <param name="dialect"></param> ! /// <returns></returns> public string[ ] SqlCreateStrings( Dialect.Dialect dialect ) { --- 108,121 ---- #endregion + #region IPersistentIdentifierGenerator Members + /// <summary> ! /// The SQL required to create the database objects for a SequenceGenerator. /// </summary> ! /// <param name="dialect">The <see cref="Dialect.Dialect"/> to help with creating the sql.</param> ! /// <returns> ! /// An array of <see cref="String"/> objects that contain the Dialect specific sql to ! /// create the necessary database objects for the SequenceGenerator. ! /// </returns> public string[ ] SqlCreateStrings( Dialect.Dialect dialect ) { *************** *** 122,129 **** /// <summary> ! /// /// </summary> ! /// <param name="dialect"></param> ! /// <returns></returns> public string SqlDropString( Dialect.Dialect dialect ) { --- 127,136 ---- /// <summary> ! /// The SQL required to remove the underlying database objects for a SequenceGenerator. /// </summary> ! /// <param name="dialect">The <see cref="Dialect.Dialect"/> to help with creating the sql.</param> ! /// <returns> ! /// A <see cref="String"/> that will drop the database objects for the SequenceGenerator. ! /// </returns> public string SqlDropString( Dialect.Dialect dialect ) { *************** *** 131,139 **** } ! /// <summary></summary> public object GeneratorKey() { return sequenceName; } } } \ No newline at end of file --- 138,154 ---- } ! /// <summary> ! /// Return a key unique to the underlying database objects for a SequenceGenerator. ! /// </summary> ! /// <returns> ! /// The configured sequence name. ! /// </returns> public object GeneratorKey() { return sequenceName; } + + #endregion + } } \ No newline at end of file Index: IPersistentIdentifierGenerator.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Id/IPersistentIdentifierGenerator.cs,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** IPersistentIdentifierGenerator.cs 15 Jan 2005 21:16:13 -0000 1.4 --- IPersistentIdentifierGenerator.cs 16 Jan 2005 14:43:00 -0000 1.5 *************** *** 1,2 **** --- 1,4 ---- + using System; + namespace NHibernate.Id { *************** *** 11,15 **** /// The SQL required to create the underlying database objects /// </summary> ! /// <param name="dialect"></param> string[ ] SqlCreateStrings( Dialect.Dialect dialect ); --- 13,21 ---- /// The SQL required to create the underlying database objects /// </summary> ! /// <param name="dialect">The <see cref="Dialect.Dialect"/> to help with creating the sql.</param> ! /// <returns> ! /// An array of <see cref="String"/> objects that contain the sql to create the ! /// necessary database objects. ! /// </returns> string[ ] SqlCreateStrings( Dialect.Dialect dialect ); *************** *** 17,21 **** /// The SQL required to remove the underlying database objects /// </summary> ! /// <param name="dialect"></param> string SqlDropString( Dialect.Dialect dialect ); --- 23,30 ---- /// The SQL required to remove the underlying database objects /// </summary> ! /// <param name="dialect">The <see cref="Dialect.Dialect"/> to help with creating the sql.</param> ! /// <returns> ! /// A <see cref="String"/> that will drop the database objects. ! /// </returns> string SqlDropString( Dialect.Dialect dialect ); *************** *** 23,26 **** --- 32,38 ---- /// Return a key unique to the underlying database objects. /// </summary> + /// <returns> + /// A key unique to the underlying database objects. + /// </returns> /// <remarks> /// Prevents us from trying to create/remove them multiple times |