public void Test_PrepareValue_WithBool_WhenFalse_ShouldreturnZero()
 {
     //---------------Set up test pack-------------------
     SqlFormatterForAccess sqlFormatter = new SqlFormatterForAccess("", "", "", "");
     const bool value = false;
     //---------------Assert Precondition----------------
     //---------------Execute Test ----------------------
     object preparedValue = sqlFormatter.PrepareValue(value);
     //---------------Test Result -----------------------
     Assert.AreEqual(0, preparedValue, "PrepareValue is not preparing bools correctly for Access.");
 }
 /// <summary>
 /// Constructor to initialise the connection object with an
 /// assembly name, class name and connection string
 /// </summary>
 /// <param name="assemblyName">The assembly name</param>
 /// <param name="className">The class name</param>
 /// <param name="connectString">The connection string, which can be
 /// generated using ConnectionStringAccessFactory.CreateConnectionString()
 /// </param>
 public DatabaseConnectionAccess(string assemblyName, string className, string connectString)
     : base(assemblyName, className, connectString)
 {
     _sqlFormatter = new SqlFormatterForAccess("[", "]", "TOP", "");
 }
 /// <summary>
 /// Constructor to initialise the connection object with an
 /// assembly name, class name and connection string
 /// </summary>
 /// <param name="assemblyName">The assembly name</param>
 /// <param name="className">The class name</param>
 /// <param name="connectString">The connection string, which can be
 /// generated using ConnectionStringAccessFactory.CreateConnectionString()
 /// </param>
 public DatabaseConnectionAccess(string assemblyName, string className, string connectString)
     : base(assemblyName, className, connectString)
 {
     _sqlFormatter = new SqlFormatterForAccess("[", "]", "TOP", "");
 }