From a2a22af7ddfe0b0c3132a7017f3d64fcffabd61b Mon Sep 17 00:00:00 2001 From: Ryan Peters Date: Tue, 13 Oct 2020 21:46:23 -0400 Subject: [PATCH] unfinished progress --- ...riseServices.DataAccess.EntityFramework.csproj | 1 + .../Entities/Creditor.cs | 2 ++ .../CreditorHelper.cs | 15 +++++++++++++++ .../Models/Creditor.cs | 13 +++++++++++++ .../COA.EnterpriseServices.Sandbox.csproj | 14 ++++++++++++++ COA.EnterpriseServices.Sandbox/Program.cs | 13 +++++++++++++ COA.EnterpriseServices.sln | 12 +++++++++--- 7 files changed, 67 insertions(+), 3 deletions(-) create mode 100644 COA.EnterpriseServices.DataAccess/CreditorHelper.cs create mode 100644 COA.EnterpriseServices.DataAccess/Models/Creditor.cs create mode 100644 COA.EnterpriseServices.Sandbox/COA.EnterpriseServices.Sandbox.csproj create mode 100644 COA.EnterpriseServices.Sandbox/Program.cs diff --git a/COA.EnterpriseServices.DataAccess.EntityFramework/COA.EnterpriseServices.DataAccess.EntityFramework.csproj b/COA.EnterpriseServices.DataAccess.EntityFramework/COA.EnterpriseServices.DataAccess.EntityFramework.csproj index ce4bb4a..94606da 100644 --- a/COA.EnterpriseServices.DataAccess.EntityFramework/COA.EnterpriseServices.DataAccess.EntityFramework.csproj +++ b/COA.EnterpriseServices.DataAccess.EntityFramework/COA.EnterpriseServices.DataAccess.EntityFramework.csproj @@ -5,6 +5,7 @@ + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/COA.EnterpriseServices.DataAccess.EntityFramework/Entities/Creditor.cs b/COA.EnterpriseServices.DataAccess.EntityFramework/Entities/Creditor.cs index 74ba96f..a978a46 100644 --- a/COA.EnterpriseServices.DataAccess.EntityFramework/Entities/Creditor.cs +++ b/COA.EnterpriseServices.DataAccess.EntityFramework/Entities/Creditor.cs @@ -7,5 +7,7 @@ namespace COA.EnterpriseServices.DataAccess.EntityFramework.Entities public class Creditor : IRecord { public int Id { get; set; } + public string ClientFirstName { get; set; } + public string ClientLastName { get; set; } } } diff --git a/COA.EnterpriseServices.DataAccess/CreditorHelper.cs b/COA.EnterpriseServices.DataAccess/CreditorHelper.cs new file mode 100644 index 0000000..1d6ae34 --- /dev/null +++ b/COA.EnterpriseServices.DataAccess/CreditorHelper.cs @@ -0,0 +1,15 @@ +using COA.EnterpriseServices.DataAccess.Models; +using System; +using System.Collections.Generic; +using System.Text; + +namespace COA.EnterpriseServices.DataAccess +{ + public class CreditorHelper + { + public Creditor GetCreditor(int id) + { + + } + } +} diff --git a/COA.EnterpriseServices.DataAccess/Models/Creditor.cs b/COA.EnterpriseServices.DataAccess/Models/Creditor.cs new file mode 100644 index 0000000..170abe0 --- /dev/null +++ b/COA.EnterpriseServices.DataAccess/Models/Creditor.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace COA.EnterpriseServices.DataAccess.Models +{ + public class Creditor : IRecord + { + public int Id { get; set; } + public string FirstName { get; set; } + public string LastName { get; set; } + } +} diff --git a/COA.EnterpriseServices.Sandbox/COA.EnterpriseServices.Sandbox.csproj b/COA.EnterpriseServices.Sandbox/COA.EnterpriseServices.Sandbox.csproj new file mode 100644 index 0000000..ddd1894 --- /dev/null +++ b/COA.EnterpriseServices.Sandbox/COA.EnterpriseServices.Sandbox.csproj @@ -0,0 +1,14 @@ + + + + Exe + netcoreapp3.1 + + + + + + + + + diff --git a/COA.EnterpriseServices.Sandbox/Program.cs b/COA.EnterpriseServices.Sandbox/Program.cs new file mode 100644 index 0000000..ed5a861 --- /dev/null +++ b/COA.EnterpriseServices.Sandbox/Program.cs @@ -0,0 +1,13 @@ +using COA.EnterpriseServices.DataAccess.EntityFramework; +using System; + +namespace COA.EnterpriseServices.Sandbox +{ + class Program + { + static void Main(string[] args) + { + var dataAcces = new EntityDataAccess + } + } +} diff --git a/COA.EnterpriseServices.sln b/COA.EnterpriseServices.sln index 0837983..369551f 100644 --- a/COA.EnterpriseServices.sln +++ b/COA.EnterpriseServices.sln @@ -3,11 +3,13 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.30611.23 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "COA.EnterpriseServices.DataAccess", "COA.EnterpriseServices.DataAccess\COA.EnterpriseServices.DataAccess.csproj", "{4F83B6F3-B35E-4688-B59B-2C7750802057}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "COA.EnterpriseServices.DataAccess", "COA.EnterpriseServices.DataAccess\COA.EnterpriseServices.DataAccess.csproj", "{4F83B6F3-B35E-4688-B59B-2C7750802057}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "COA.EnterpriseServices.DataAccess.EntityFramework", "COA.EnterpriseServices.DataAccess.EntityFramework\COA.EnterpriseServices.DataAccess.EntityFramework.csproj", "{A0B3A2C8-63FE-4A94-B900-457C1E8E425E}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "COA.EnterpriseServices.DataAccess.EntityFramework", "COA.EnterpriseServices.DataAccess.EntityFramework\COA.EnterpriseServices.DataAccess.EntityFramework.csproj", "{A0B3A2C8-63FE-4A94-B900-457C1E8E425E}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "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 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "COA.EnterpriseServices.Sandbox", "COA.EnterpriseServices.Sandbox\COA.EnterpriseServices.Sandbox.csproj", "{61BE21F9-8C5B-4C99-885A-E0B1E5BDCA79}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -27,6 +29,10 @@ Global {263CA52C-C2B5-417E-910E-50CE16EE33CB}.Debug|Any CPU.Build.0 = Debug|Any CPU {263CA52C-C2B5-417E-910E-50CE16EE33CB}.Release|Any CPU.ActiveCfg = Release|Any CPU {263CA52C-C2B5-417E-910E-50CE16EE33CB}.Release|Any CPU.Build.0 = Release|Any CPU + {61BE21F9-8C5B-4C99-885A-E0B1E5BDCA79}.Debug|Any CPU.ActiveCfg = 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.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE