From: <fab...@us...> - 2010-12-14 10:13:42
|
Revision: 5314 http://nhibernate.svn.sourceforge.net/nhibernate/?rev=5314&view=rev Author: fabiomaulo Date: 2010-12-14 10:13:36 +0000 (Tue, 14 Dec 2010) Log Message: ----------- relax of CustomType and CompositeCustomType (needed by ours contrib projects) Modified Paths: -------------- trunk/nhibernate/src/NHibernate/Type/CompositeCustomType.cs trunk/nhibernate/src/NHibernate/Type/CustomType.cs Modified: trunk/nhibernate/src/NHibernate/Type/CompositeCustomType.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Type/CompositeCustomType.cs 2010-12-12 20:02:13 UTC (rev 5313) +++ trunk/nhibernate/src/NHibernate/Type/CompositeCustomType.cs 2010-12-14 10:13:36 UTC (rev 5314) @@ -18,6 +18,12 @@ private readonly ICompositeUserType userType; private readonly string name; + public ICompositeUserType UserType + { + // needed as public by ours Contrib projects + get { return userType; } + } + public CompositeCustomType(System.Type userTypeClass, IDictionary<string, string> parameters) { name = userTypeClass.FullName; Modified: trunk/nhibernate/src/NHibernate/Type/CustomType.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Type/CustomType.cs 2010-12-12 20:02:13 UTC (rev 5313) +++ trunk/nhibernate/src/NHibernate/Type/CustomType.cs 2010-12-14 10:13:36 UTC (rev 5314) @@ -24,8 +24,9 @@ private readonly SqlType[] sqlTypes; /// <summary></summary> - protected IUserType UserType + public IUserType UserType { + // needed as public by ours Contrib projects get { return userType; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |