From: Michael D. <mik...@us...> - 2004-07-19 13:52:35
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Driver In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv790/Driver Modified Files: ByteFXDataDriver.cs Log Message: Fixed a few minor problems with using MySql database. Still have not figured out why we can't write to a varchar(x) binary field. Index: ByteFXDataDriver.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Driver/ByteFXDataDriver.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ByteFXDataDriver.cs 18 May 2004 05:02:27 -0000 1.2 --- ByteFXDataDriver.cs 19 Jul 2004 13:52:26 -0000 1.3 *************** *** 10,14 **** /// <remarks> /// <p> ! /// In order to use this Driver you must have the ByteFX.Data.dll Assembly available for /// NHibernate to load it. The ICSharpCode.SharpZipLib.dll Assembly is also required by /// the ByteFX.Data Assembly. --- 10,14 ---- /// <remarks> /// <p> ! /// In order to use this Driver you must have the ByteFX.MySqlClient.dll Assembly available for /// NHibernate to load it. The ICSharpCode.SharpZipLib.dll Assembly is also required by /// the ByteFX.Data Assembly. *************** *** 30,35 **** public ByteFXDataDriver() { ! connectionType = System.Type.GetType("ByteFX.Data.MySqlClient.MySqlConnection, ByteFX.Data"); ! commandType = System.Type.GetType("ByteFX.Data.MySqlClient.MySqlCommand, ByteFX.Data"); } --- 30,35 ---- public ByteFXDataDriver() { ! connectionType = System.Type.GetType("ByteFX.Data.MySqlClient.MySqlConnection, ByteFX.MySqlClient"); ! commandType = System.Type.GetType("ByteFX.Data.MySqlClient.MySqlCommand, ByteFX.MySqlClient"); } *************** *** 58,61 **** --- 58,71 ---- get {return "@";} } + + /// <summary> + /// The ByteFX driver does NOT support more than 1 open IDataReader + /// with only 1 IDbConnection. + /// </summary> + /// <value><c>false</c> - it is not supported.</value> + public override bool SupportsMultipleOpenReaders + { + get { return false; } + } } } |