From: Kevin W. <kev...@us...> - 2004-12-31 21:49:20
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Metadata In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3390 Modified Files: IClassMetadata.cs ICollectionMetadata.cs Log Message: fixing xml comments and letting ReSharper do reformatting Index: IClassMetadata.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Metadata/IClassMetadata.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** IClassMetadata.cs 3 Sep 2004 19:02:11 -0000 1.5 --- IClassMetadata.cs 31 Dec 2004 21:48:54 -0000 1.6 *************** *** 1,13 **** - using System; using NHibernate.Type; ! namespace NHibernate.Metadata { /// <summary> /// Exposes entity class metadata to the application /// </summary> ! public interface IClassMetadata { - /// <summary> /// The persistent class --- 1,11 ---- using NHibernate.Type; ! namespace NHibernate.Metadata { /// <summary> /// Exposes entity class metadata to the application /// </summary> ! public interface IClassMetadata { /// <summary> /// The persistent class *************** *** 23,27 **** /// The names of the class' persistent properties /// </summary> ! string[] PropertyNames { get; } /// <summary> --- 21,25 ---- /// The names of the class' persistent properties /// </summary> ! string[ ] PropertyNames { get; } /// <summary> *************** *** 33,60 **** /// The Hibernate types of the classes properties /// </summary> ! IType[] PropertyTypes { get; } /// <summary> /// Get the value of a particular (named) property /// </summary> ! /// <param name="?"></param> /// <returns></returns> ! object GetPropertyValue(object obj, string propertyName); ! /// <summary> /// Set the value of a particular (named) property /// </summary> ! /// <param name="?"></param> ! void SetPropertyValue(object obj, string propertyName, object value); ! /// <summary> /// Return the values of the mapped properties of the object /// </summary> ! object[] GetPropertyValues(object entity); /// <summary> /// Set the given values to the mapped properties of the given object /// </summary> ! void SetPropertyValues(object entity, object[] values); /// <summary> --- 31,64 ---- /// The Hibernate types of the classes properties /// </summary> ! IType[ ] PropertyTypes { get; } /// <summary> /// Get the value of a particular (named) property /// </summary> ! /// <param name="obj"></param> ! /// <param name="propertyName"></param> /// <returns></returns> ! object GetPropertyValue( object obj, string propertyName ); ! /// <summary> /// Set the value of a particular (named) property /// </summary> ! /// <param name="obj"></param> ! /// <param name="propertyName"></param> ! /// <param name="value"></param> ! void SetPropertyValue( object obj, string propertyName, object value ); ! /// <summary> /// Return the values of the mapped properties of the object /// </summary> ! /// <param name="entity"></param> ! object[ ] GetPropertyValues( object entity ); /// <summary> /// Set the given values to the mapped properties of the given object /// </summary> ! /// <param name="entity"></param> ! /// <param name="values"></param> ! void SetPropertyValues( object entity, object[ ] values ); /// <summary> *************** *** 63,67 **** /// <param name="entity"></param> /// <returns></returns> ! object GetIdentifier(object entity); /// <summary> --- 67,71 ---- /// <param name="entity"></param> /// <returns></returns> ! object GetIdentifier( object entity ); /// <summary> *************** *** 70,74 **** /// <param name="entity"></param> /// <param name="id"></param> ! void SetIdentifier(object entity, object id); /// <summary> --- 74,78 ---- /// <param name="entity"></param> /// <param name="id"></param> ! void SetIdentifier( object entity, object id ); /// <summary> *************** *** 103,107 **** /// <param name="obj"></param> /// <returns></returns> ! object GetVersion(object obj); /// <summary> --- 107,111 ---- /// <param name="obj"></param> /// <returns></returns> ! object GetVersion( object obj ); /// <summary> *************** *** 111,113 **** } ! } --- 115,117 ---- } ! } \ No newline at end of file Index: ICollectionMetadata.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Metadata/ICollectionMetadata.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ICollectionMetadata.cs 30 Mar 2004 14:19:35 -0000 1.2 --- ICollectionMetadata.cs 31 Dec 2004 21:48:54 -0000 1.3 *************** *** 1,13 **** - using System; using NHibernate.Type; ! namespace NHibernate.Metadata { /// <summary> /// Exposes collection metadata to the application /// </summary> ! public interface ICollectionMetadata { - /// <summary> /// The collection key type --- 1,11 ---- using NHibernate.Type; ! namespace NHibernate.Metadata { /// <summary> /// Exposes collection metadata to the application /// </summary> ! public interface ICollectionMetadata { /// <summary> /// The collection key type *************** *** 50,52 **** bool IsLazy { get; } } ! } --- 48,50 ---- bool IsLazy { get; } } ! } \ No newline at end of file |