Commit eb9e279
Changed files (8)
trunk
product
MyMoney
DataAccess
Presentation
Model
Projects
Tasks
application
infrastructure
trunk/product/MyMoney/DataAccess/db40/ObjectRepository.cs
@@ -19,7 +19,6 @@ namespace MyMoney.DataAccess.db40
{
open_session_with_database().Query<T>().each(x => this.log().debug("found item: {0}", x));
return open_session_with_database().Query<T>();
- //return open_session_with_database().Cast<T>();
}
public void save<T>(T item) where T : IEntity
trunk/product/MyMoney/DataAccess/db40/db4o_repository_specs.cs → trunk/product/MyMoney/DataAccess/db40/ObjectRepositorySpecs.cs
File renamed without changes
trunk/product/MyMoney/Presentation/Model/Projects/file.cs
@@ -28,18 +28,6 @@ namespace MyMoney.Presentation.Model.Projects
{
this.log().debug("copying file {0} to {1}", path, file_to_overwrite.path);
File.Copy(path, file_to_overwrite.path, true);
-
- var fs = File.Open("C:\\yourfile.txt", FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
-
- var reader = new StreamReader(fs);
-
- while (!reader.EndOfStream)
- {
- var line = reader.ReadLine();
- }
-
- reader.Close();
- fs.Close();
}
public static implicit operator ApplicationFile(string file_path)
trunk/product/MyMoney/Tasks/application/billing_tasks.cs → trunk/product/MyMoney/Tasks/application/BillingTasks.cs
@@ -17,12 +17,12 @@ namespace MyMoney.Tasks.application
}
[Interceptor(typeof (IUnitOfWorkInterceptor))]
- public class billing_tasks : IBillingTasks
+ public class BillingTasks : IBillingTasks
{
private readonly IRepository repository;
private readonly ICustomerTasks tasks;
- public billing_tasks(IRepository repository, ICustomerTasks tasks)
+ public BillingTasks(IRepository repository, ICustomerTasks tasks)
{
this.repository = repository;
this.tasks = tasks;
trunk/product/MyMoney/Tasks/application/customer_tasks.cs → trunk/product/MyMoney/Tasks/application/CustomerTasks.cs
@@ -12,11 +12,11 @@ namespace MyMoney.Tasks.application
}
[Interceptor(typeof (IUnitOfWorkInterceptor))]
- public class customer_tasks : ICustomerTasks
+ public class CustomerTasks : ICustomerTasks
{
private readonly IRepository repository;
- public customer_tasks(IRepository repository)
+ public CustomerTasks(IRepository repository)
{
this.repository = repository;
}
trunk/product/MyMoney/Tasks/application/income_tasks.cs → trunk/product/MyMoney/Tasks/application/IncomeTasks.cs
@@ -16,12 +16,12 @@ namespace MyMoney.Tasks.application
}
[Interceptor(typeof (IUnitOfWorkInterceptor))]
- public class income_tasks : IIncomeTasks
+ public class IncomeTasks : IIncomeTasks
{
private readonly IRepository repository;
private readonly ICustomerTasks tasks;
- public income_tasks(IRepository repository, ICustomerTasks tasks)
+ public IncomeTasks(IRepository repository, ICustomerTasks tasks)
{
this.repository = repository;
this.tasks = tasks;
trunk/product/MyMoney/Tasks/application/file_system_tasks.cs → trunk/product/MyMoney/Tasks/infrastructure/FileSystemTasks.cs
@@ -3,7 +3,7 @@ using Castle.Core;
using MyMoney.Infrastructure.interceptors;
using MyMoney.Presentation.Model.file_system;
-namespace MyMoney.Tasks.application
+namespace MyMoney.Tasks.infrastructure
{
public interface IFileSystemTasks
{
@@ -13,11 +13,11 @@ namespace MyMoney.Tasks.application
[Interceptor(typeof (IUnitOfWorkInterceptor))]
[Singleton]
- public class file_system_tasks : IFileSystemTasks
+ public class FileSystemTasks : IFileSystemTasks
{
private IFolder current_folder;
- public file_system_tasks()
+ public FileSystemTasks()
{
current_folder = new folder(Environment.GetFolderPath(Environment.SpecialFolder.MyComputer));
}
trunk/product/MyMoney/MyMoney.csproj
@@ -159,7 +159,7 @@
<Compile Include="DataAccess\db40\ConnectionFactory.cs" />
<Compile Include="DataAccess\db40\DatabaseConfiguration.cs" />
<Compile Include="DataAccess\db40\ObjectRepository.cs" />
- <Compile Include="DataAccess\db40\db4o_repository_specs.cs" />
+ <Compile Include="DataAccess\db40\ObjectRepositorySpecs.cs" />
<Compile Include="DataAccess\db40\spiking\db40_spike_specs.cs" />
<Compile Include="DataAccess\repositories\bill_repository_specs.cs" />
<Compile Include="DataAccess\sqlcompact\sql_compant_repository_specs.cs" />
@@ -457,10 +457,10 @@
<DependentUpon>CheckForUpdates.cs</DependentUpon>
</Compile>
<Compile Include="Presentation\Views\updates\ICheckForUpdatesView.cs" />
- <Compile Include="Tasks\application\billing_tasks.cs" />
- <Compile Include="Tasks\application\customer_tasks.cs" />
- <Compile Include="Tasks\application\file_system_tasks.cs" />
- <Compile Include="Tasks\application\income_tasks.cs" />
+ <Compile Include="Tasks\application\BillingTasks.cs" />
+ <Compile Include="Tasks\application\CustomerTasks.cs" />
+ <Compile Include="Tasks\infrastructure\FileSystemTasks.cs" />
+ <Compile Include="Tasks\application\IncomeTasks.cs" />
<Compile Include="Tasks\infrastructure\UpdateTasks.cs" />
<Compile Include="Testing\spechelpers\contexts\concerns_for.cs" />
<Compile Include="Testing\spechelpers\contexts\behaves_like_a_repository.cs" />