Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Persister
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20359/src/NHibernate/Persister
Modified Files:
AbstractEntityPersister.cs IClassPersister.cs
Log Message:
Added some comments and moved an abstract method to be with the other
abstract methods.
Index: IClassPersister.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Persister/IClassPersister.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** IClassPersister.cs 23 Jun 2004 21:08:20 -0000 1.6
--- IClassPersister.cs 2 Sep 2004 15:11:01 -0000 1.7
***************
*** 154,161 ****
/// <summary>
! ///
/// </summary>
! /// <returns></returns>
! //TODO: Added in H2.0.3 - what exactly does it do...
bool HasIdentifierPropertyOrEmbeddedCompositeIdentifier{get;}
--- 154,161 ----
/// <summary>
! /// Gets if the Type has a Property for the <id> or uses a <composite-id>
! /// to store the id.
/// </summary>
! /// <returns><c>true if there is a Identifier Property or Composite Identifier.</c></returns>
bool HasIdentifierPropertyOrEmbeddedCompositeIdentifier{get;}
***************
*** 170,175 ****
/// Set the identifier of an instance (or do nothing if no identifier property)
/// </summary>
! /// <param name="obj"></param>
! /// <param name="id"></param>
void SetIdentifier(object obj, object id);
--- 170,175 ----
/// Set the identifier of an instance (or do nothing if no identifier property)
/// </summary>
! /// <param name="obj">The object to set the Id property on.</param>
! /// <param name="id">The value to set the Id property to.</param>
void SetIdentifier(object obj, object id);
***************
*** 282,287 ****
--- 282,301 ----
string[] PropertyNames { get; }
+ /// <summary>
+ /// Gets if the Property is updatable
+ /// </summary>
+ /// <value><c>true</c> if the Property's value can be updated.</value>
+ /// <remarks>
+ /// This is for formula columns and if the user sets the update attribute on the <property> element.
+ /// </remarks>
bool[] PropertyUpdateability { get; }
+ /// <summary>
+ /// Gets if the Property is insertable.
+ /// </summary>
+ /// <value><c>true</c> if the Property's value can be inserted.</value>
+ /// <remarks>
+ /// This is for formula columns and if the user sets the insert attribute on the <property> element.
+ /// </remarks>
bool[] PropertyInsertability { get; }
Index: AbstractEntityPersister.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Persister/AbstractEntityPersister.cs,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** AbstractEntityPersister.cs 28 Aug 2004 17:20:17 -0000 1.23
--- AbstractEntityPersister.cs 2 Sep 2004 15:11:01 -0000 1.24
***************
*** 117,123 ****
}
! //TODO: not in same spot in h2.0.3
! public abstract string[] ToColumns(string name, string path) ;
!
public virtual IType GetPropertyType(string path)
{
--- 117,121 ----
}
!
public virtual IType GetPropertyType(string path)
{
***************
*** 829,832 ****
--- 827,831 ----
public abstract string TableName { get; }
public abstract string[] ToColumns(string name, int i);
+ public abstract string[] ToColumns(string name, string path) ;
public abstract SqlString WhereJoinFragment(string alias, bool innerJoin, bool includeSubclasses);
public abstract string DiscriminatorColumnName { get; }
|