This commit is contained in:
Ryan Peters 2020-10-14 17:25:05 -04:00
parent b37433e6de
commit 86d6fdb5dd
6 changed files with 30 additions and 4 deletions

View File

@ -0,0 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,13 @@
using System;
namespace COA.EnterpriseServices.Creditor
{
public class CreditorController
{
}
public class SettlementController
{
}
}

View File

@ -1,7 +1,6 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text;
namespace COA.EnterpriseServices.DataAccess namespace COA.EnterpriseServices.DataAccess
{ {

View File

@ -13,6 +13,7 @@ namespace COA.EnterpriseServices.DataAccess
c.Scan(s => c.Scan(s =>
{ {
s.AddAllTypesOf(typeof(IDataAccess<>)); s.AddAllTypesOf(typeof(IDataAccess<>));
s.AddAllTypesOf(typeof(DataAccessManager<>));
s.WithDefaultConventions(); s.WithDefaultConventions();
s.AssembliesFromApplicationBaseDirectory(); s.AssembliesFromApplicationBaseDirectory();

View File

@ -13,8 +13,8 @@ namespace COA.EnterpriseServices.DataAccess.Helpers
static CreditorHelper() static CreditorHelper()
{ {
creditorDataAccess = new DataAccessManager<Creditor>(); creditorDataAccess = Dependencies.Container.GetInstance<DataAccessManager<Creditor>>();
settlementAttemptDataAccess = new DataAccessManager<SettlementAttempt>(); settlementAttemptDataAccess = Dependencies.Container.GetInstance<DataAccessManager<SettlementAttempt>>();
} }
public Creditor GetCreditor(int id) public Creditor GetCreditor(int id)

View File

@ -9,7 +9,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "COA.EnterpriseServices.Data
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "COA.EnterpriseServices.DataAccess.QuickBase", "COA.EnterpriseServices.DataAccess.QuickBase\COA.EnterpriseServices.DataAccess.QuickBase.csproj", "{263CA52C-C2B5-417E-910E-50CE16EE33CB}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "COA.EnterpriseServices.DataAccess.QuickBase", "COA.EnterpriseServices.DataAccess.QuickBase\COA.EnterpriseServices.DataAccess.QuickBase.csproj", "{263CA52C-C2B5-417E-910E-50CE16EE33CB}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "COA.EnterpriseServices.Sandbox", "COA.EnterpriseServices.Sandbox\COA.EnterpriseServices.Sandbox.csproj", "{61BE21F9-8C5B-4C99-885A-E0B1E5BDCA79}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "COA.EnterpriseServices.Sandbox", "COA.EnterpriseServices.Sandbox\COA.EnterpriseServices.Sandbox.csproj", "{61BE21F9-8C5B-4C99-885A-E0B1E5BDCA79}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "COA.EnterpriseServices.Creditor", "COA.EnterpriseServices.Creditor\COA.EnterpriseServices.Creditor.csproj", "{FD33DD45-C0B9-45EE-B4C9-43CF1E6AB383}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -33,6 +35,10 @@ Global
{61BE21F9-8C5B-4C99-885A-E0B1E5BDCA79}.Debug|Any CPU.Build.0 = Debug|Any CPU {61BE21F9-8C5B-4C99-885A-E0B1E5BDCA79}.Debug|Any CPU.Build.0 = Debug|Any CPU
{61BE21F9-8C5B-4C99-885A-E0B1E5BDCA79}.Release|Any CPU.ActiveCfg = Release|Any CPU {61BE21F9-8C5B-4C99-885A-E0B1E5BDCA79}.Release|Any CPU.ActiveCfg = Release|Any CPU
{61BE21F9-8C5B-4C99-885A-E0B1E5BDCA79}.Release|Any CPU.Build.0 = Release|Any CPU {61BE21F9-8C5B-4C99-885A-E0B1E5BDCA79}.Release|Any CPU.Build.0 = Release|Any CPU
{FD33DD45-C0B9-45EE-B4C9-43CF1E6AB383}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FD33DD45-C0B9-45EE-B4C9-43CF1E6AB383}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FD33DD45-C0B9-45EE-B4C9-43CF1E6AB383}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FD33DD45-C0B9-45EE-B4C9-43CF1E6AB383}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE