From: Michael D. <mik...@us...> - 2004-10-31 04:26:06
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Cache In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13943/NHibernate/Cache Modified Files: CacheFactory.cs Log Message: removed some not implemented code and no longer applicable comments Index: CacheFactory.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Cache/CacheFactory.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** CacheFactory.cs 29 Oct 2004 05:55:26 -0000 1.1 --- CacheFactory.cs 31 Oct 2004 04:25:56 -0000 1.2 *************** *** 19,23 **** public const string ReadWrite = "read-write"; public const string NonstrictReadWrite = "nonstrict-read-write"; - public const string Transactional = "transactional"; public static ICacheConcurrencyStrategy CreateCache(XmlNode node, string name, bool mutable) --- 19,22 ---- *************** *** 50,57 **** ccs = new NonstrictReadWriteCache(); break; - case CacheFactory.Transactional : - // TODO: build this - //ccs = new TransactionalCache(); - break; default : throw new MappingException( "cache usage attribute should be read-write, read-only, nonstrict-read-write, or transactional" ); --- 49,52 ---- |