Skip to content

Commit

Permalink
Removed custom transaction manager for Microsoft Access and SQL CE da…
Browse files Browse the repository at this point in the history
…tabases. #57.
  • Loading branch information
hisystems committed Jun 20, 2013
1 parent 9e3cbf4 commit 43ba9f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Database/MicrosoftAccessDatabase.cs
Expand Up @@ -36,7 +36,7 @@ public MicrosoftAccessDatabase(string strDatabaseFilePath)
/// </param>
/// <remarks></remarks>
public MicrosoftAccessDatabase(string strDatabaseFilePath, string strDatabasePassword)
: base("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + strDatabaseFilePath + ";Jet OLEDB:Database Password=" + strDatabasePassword + ";OLE DB Services=-3;", ConnectionType.MicrosoftAccess)
: base("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + strDatabaseFilePath + ";Jet OLEDB:Database Password=" + strDatabasePassword + ";", ConnectionType.MicrosoftAccess)
{
if (string.IsNullOrEmpty(strDatabaseFilePath))
throw new ArgumentNullException("Database File Path");
Expand Down
2 changes: 1 addition & 1 deletion Database/MicrosoftSQLCompactEditionDatabase.cs
Expand Up @@ -28,7 +28,7 @@ public MicrosoftSQLCompactEditionDatabase(string strDatabaseFilePath)
/// </summary>
/// <param name="strDatabaseFilePath">The full or relative path to the SQL compact edition database. i.e. Data\database.sdf or C:\Data\database.sdf</param>
public MicrosoftSQLCompactEditionDatabase(string strDatabaseFilePath, string strPassword)
: base("Provider=Microsoft.SQLSERVER.CE.OLEDB.3.5;Data Source=" + strDatabaseFilePath + ";SSCE:Database Password='" + strPassword + "';OLE DB Services=-3;", ConnectionType.SQLServerCompactEdition)
: base("Provider=Microsoft.SQLSERVER.CE.OLEDB.3.5;Data Source=" + strDatabaseFilePath + ";SSCE:Database Password='" + strPassword + "';", ConnectionType.SQLServerCompactEdition)
{
if (string.IsNullOrEmpty(strDatabaseFilePath))
throw new ArgumentNullException("Database File Path");
Expand Down

0 comments on commit 43ba9f8

Please sign in to comment.