Commit 313c9ca

mo <email@solidware.ca>
2011-03-22 18:03:41
minor cleanup.
1 parent 89e9946
product/messages/AddIncomeCommandMessage.cs
@@ -6,7 +6,7 @@ namespace solidware.financials.messages
 {
     public class AddIncomeCommandMessage : ValueType<AddIncomeCommandMessage>, Event
     {
-        public decimal Amount { get; set; }
         public Guid PersonId { get; set; }
+        public decimal Amount { get; set; }
     }
 }
\ No newline at end of file
product/service/orm/DB4OConnectionFactory.cs
@@ -1,8 +1,6 @@
 using System;
 using System.IO;
 using Db4objects.Db4o;
-using Db4objects.Db4o.Config;
-using Db4objects.Db4o.TA;
 
 namespace solidware.financials.service.orm
 {
@@ -25,8 +23,7 @@ namespace solidware.financials.service.orm
 
         void ensure_directories_exist()
         {
-            var company_dir = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData),
-                                           @"mokhan.ca");
+            var company_dir = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData), @"mokhan.ca");
             if (!Directory.Exists(company_dir))
                 Directory.CreateDirectory(company_dir);
 
product/service/orm/UnitOfWorkFactory.cs
@@ -1,7 +1,8 @@
-namespace solidware.financials.service.orm
+using gorilla.utility;
+
+namespace solidware.financials.service.orm
 {
-    public interface UnitOfWorkFactory
+    public interface UnitOfWorkFactory : Factory<UnitOfWork>
     {
-        UnitOfWork create();
     }
 }
\ No newline at end of file
product/specs/unit/service/handlers/AddIncomeCommandMessageHandlerSpecs.cs
@@ -0,0 +1,16 @@
+using Machine.Specifications;
+
+namespace specs.unit.service.handlers
+{
+    public class AddIncomeCommandMessageHandlerSpecs
+    {
+        public class when_a_familiy_member_receives_income
+        {
+            It should_record_the_transaction_in_the_transaction = () =>
+            {
+                
+            };
+        }
+        
+    }
+}
\ No newline at end of file
product/specs/specs.csproj
@@ -63,6 +63,7 @@
     <Compile Include="Properties\AssemblyInfo.cs" />
     <Compile Include="Create.cs" />
     <Compile Include="unit\infrastructure\ProxyFactorySpecs.cs" />
+    <Compile Include="unit\service\handlers\AddIncomeCommandMessageHandlerSpecs.cs" />
     <Compile Include="unit\service\orm\DB4OUnitOfWorkFactorySpecs.cs" />
     <Compile Include="unit\service\orm\DB4OUnitOfWorkSpecs.cs" />
     <Compile Include="unit\service\orm\EmptyUnitOfWorkSpecs.cs" />