From: Paul H. <pha...@us...> - 2005-03-06 12:45:22
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21577/nhibernate/src/NHibernate.DomainModel Modified Files: CustomPersister.cs Log Message: Refactored SessionImpl as per 2.1 for Save/Update Index: CustomPersister.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/CustomPersister.cs,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** CustomPersister.cs 1 Mar 2005 16:24:41 -0000 1.4 --- CustomPersister.cs 6 Mar 2005 12:44:32 -0000 1.5 *************** *** 25,28 **** --- 25,29 ---- private static readonly string[] Names = new string[] { "name" }; private static readonly bool[] Mutability = new bool[] { true }; + private static readonly bool[] Nullability = new bool[] { true }; public CustomPersister(PersistentClass model, ISessionFactory factory ) *************** *** 61,65 **** public bool[] PropertyUpdateability { ! get { return Mutability; } } --- 62,76 ---- public bool[] PropertyUpdateability { ! get { return Mutability; } ! } ! ! public bool[] PropertyNullability ! { ! get { return Nullability; } ! } ! ! public bool IsBatchLoadable ! { ! get { return false; } } |