From: <dar...@us...> - 2008-08-22 04:30:34
|
Revision: 3725 http://nhibernate.svn.sourceforge.net/nhibernate/?rev=3725&view=rev Author: darioquintana Date: 2008-08-22 04:30:44 +0000 (Fri, 22 Aug 2008) Log Message: ----------- minor visibility changes in order to allow extend the classes. Same visibility than Hibernate. - private -> protected - protected internal -> public Modified Paths: -------------- trunk/nhibernate/src/NHibernate/Cfg/Configuration.cs trunk/nhibernate/src/NHibernate/Cfg/Mappings.cs Modified: trunk/nhibernate/src/NHibernate/Cfg/Configuration.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Cfg/Configuration.cs 2008-08-21 06:07:21 UTC (rev 3724) +++ trunk/nhibernate/src/NHibernate/Cfg/Configuration.cs 2008-08-22 04:30:44 UTC (rev 3725) @@ -53,15 +53,15 @@ private string currentDocumentName; - private IDictionary<string, PersistentClass> classes; // entityName, PersistentClass - private IDictionary<string, string> imports; - private IDictionary<string, NHibernate.Mapping.Collection> collections; - private IDictionary<string, Table> tables; - private IDictionary<string, NamedQueryDefinition> namedQueries; - private IDictionary<string, NamedSQLQueryDefinition> namedSqlQueries; - private IDictionary<string, ResultSetMappingDefinition> sqlResultSetMappings; - private IList<SecondPassCommand> secondPasses; - private IList<Mappings.PropertyReference> propertyReferences; + protected IDictionary<string, PersistentClass> classes; // entityName, PersistentClass + protected IDictionary<string, string> imports; + protected IDictionary<string, NHibernate.Mapping.Collection> collections; + protected IDictionary<string, Table> tables; + protected IDictionary<string, NamedQueryDefinition> namedQueries; + protected IDictionary<string, NamedSQLQueryDefinition> namedSqlQueries; + protected IDictionary<string, ResultSetMappingDefinition> sqlResultSetMappings; + protected IList<SecondPassCommand> secondPasses; + private IList<Mappings.PropertyReference> propertyReferences; private IInterceptor interceptor; private IDictionary<string, string> properties; private IDictionary<string, FilterDefinition> filterDefinitions; Modified: trunk/nhibernate/src/NHibernate/Cfg/Mappings.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Cfg/Mappings.cs 2008-08-21 06:07:21 UTC (rev 3724) +++ trunk/nhibernate/src/NHibernate/Cfg/Mappings.cs 2008-08-22 04:30:44 UTC (rev 3725) @@ -18,14 +18,14 @@ #region Utility classes [Serializable] - protected internal class ColumnNames + public class ColumnNames { public readonly IDictionary<string, string> logicalToPhysical = new Dictionary<string, string>(); public readonly IDictionary<string, string> physicalToLogical = new Dictionary<string, string>(); } [Serializable] - protected internal class TableDescription + public class TableDescription { public readonly string logicalName; public readonly Table denormalizedSupertable; @@ -38,7 +38,7 @@ } [Serializable] - internal class PropertyReference + public class PropertyReference { public string referencedClass; public string propertyName; @@ -89,7 +89,7 @@ /// </summary> protected internal IDictionary<string, TableDescription> tableNameBinding; - internal Mappings( + protected internal Mappings( IDictionary<string, PersistentClass> classes, IDictionary<string, Mapping.Collection> collections, IDictionary<string, Table> tables, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |