summaryrefslogtreecommitdiff
path: root/product/database/db4o
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2009-10-23 13:09:04 -0600
committermo khan <mo@mokhan.ca>2009-10-23 13:09:04 -0600
commit9a3430b2a1f0445c0dbac703907762e225383421 (patch)
tree751d5742a199eae57ebb6d767e650bd6c803bdc3 /product/database/db4o
parentf76fe6ca01f3dc5fabc8bf16f299420ba9d7ef05 (diff)
renamed some components to something that is more descriptive.main
Diffstat (limited to 'product/database/db4o')
-rw-r--r--product/database/db4o/ConnectionFactory.cs4
-rw-r--r--product/database/db4o/ObjectDatabaseConnection.cs (renamed from product/database/db4o/DatabaseConnection.cs)4
2 files changed, 4 insertions, 4 deletions
diff --git a/product/database/db4o/ConnectionFactory.cs b/product/database/db4o/ConnectionFactory.cs
index e18895f..57260d5 100644
--- a/product/database/db4o/ConnectionFactory.cs
+++ b/product/database/db4o/ConnectionFactory.cs
@@ -17,11 +17,11 @@ namespace momoney.database.db4o
this.setup_container = setup_container;
}
- public IDatabaseConnection open_connection_to(File the_path_to_the_database_file)
+ public DatabaseConnection open_connection_to(File the_path_to_the_database_file)
{
var configuration = Db4oFactory.NewConfiguration();
setup.configure(configuration);
- return new DatabaseConnection(get_container(the_path_to_the_database_file, configuration));
+ return new ObjectDatabaseConnection(get_container(the_path_to_the_database_file, configuration));
}
IObjectContainer get_container(File the_path_to_the_database_file, IConfiguration configuration)
diff --git a/product/database/db4o/DatabaseConnection.cs b/product/database/db4o/ObjectDatabaseConnection.cs
index 9e8e57a..7149d25 100644
--- a/product/database/db4o/DatabaseConnection.cs
+++ b/product/database/db4o/ObjectDatabaseConnection.cs
@@ -5,11 +5,11 @@ using momoney.database.transactions;
namespace momoney.database.db4o
{
- public class DatabaseConnection : IDatabaseConnection
+ public class ObjectDatabaseConnection : DatabaseConnection
{
readonly IObjectContainer container;
- public DatabaseConnection(IObjectContainer container)
+ public ObjectDatabaseConnection(IObjectContainer container)
{
this.container = container;
}