From 19c91161210c75bb803defc8262a98d284cea944 Mon Sep 17 00:00:00 2001 From: Tom RAMBEAU Date: Fri, 26 Jan 2024 13:27:38 +0100 Subject: [PATCH] modification reference de projet --- tp1/DbContextLib/DbContextLib.csproj | 17 ++++++++++++++++ tp1/Entities/BookEntity.cs | 1 + tp1/Entities/Entities.csproj | 13 ++++++++++++ .../StubbedContextLib.csproj | 13 ++++++++++++ tp1/tp1.sln | 20 ++++++++++++++++++- 5 files changed, 63 insertions(+), 1 deletion(-) diff --git a/tp1/DbContextLib/DbContextLib.csproj b/tp1/DbContextLib/DbContextLib.csproj index bb23fb7..f963c93 100644 --- a/tp1/DbContextLib/DbContextLib.csproj +++ b/tp1/DbContextLib/DbContextLib.csproj @@ -6,4 +6,21 @@ enable + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + diff --git a/tp1/Entities/BookEntity.cs b/tp1/Entities/BookEntity.cs index 50e79ff..3cde984 100644 --- a/tp1/Entities/BookEntity.cs +++ b/tp1/Entities/BookEntity.cs @@ -4,6 +4,7 @@ namespace Entities { public class BookEntity { + public int ID {get; set;} public string Title { get; set; } public string Author { get; set; } diff --git a/tp1/Entities/Entities.csproj b/tp1/Entities/Entities.csproj index bb23fb7..0c79874 100644 --- a/tp1/Entities/Entities.csproj +++ b/tp1/Entities/Entities.csproj @@ -6,4 +6,17 @@ enable + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + diff --git a/tp1/StubbedContextLib/StubbedContextLib.csproj b/tp1/StubbedContextLib/StubbedContextLib.csproj index cf7b1e0..e9bc770 100644 --- a/tp1/StubbedContextLib/StubbedContextLib.csproj +++ b/tp1/StubbedContextLib/StubbedContextLib.csproj @@ -6,6 +6,19 @@ enable + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + diff --git a/tp1/tp1.sln b/tp1/tp1.sln index 4524639..eed7fb5 100644 --- a/tp1/tp1.sln +++ b/tp1/tp1.sln @@ -3,7 +3,13 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.8.34330.188 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "tp1", "tp1\tp1.csproj", "{2097BC86-5063-42A3-83E2-1004732AC629}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestStubEF", "tp1\TestStubEF.csproj", "{2097BC86-5063-42A3-83E2-1004732AC629}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Entities", "Entities\Entities.csproj", "{19774C29-80C4-4B8C-A7D9-8F42576C4D1C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DbContextLib", "DbContextLib\DbContextLib.csproj", "{785FFEAF-A688-470C-AB63-5F83219177BC}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StubbedContextLib", "StubbedContextLib\StubbedContextLib.csproj", "{56AB577F-DC4D-4DDE-81ED-6376FB52D5EA}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -15,6 +21,18 @@ Global {2097BC86-5063-42A3-83E2-1004732AC629}.Debug|Any CPU.Build.0 = Debug|Any CPU {2097BC86-5063-42A3-83E2-1004732AC629}.Release|Any CPU.ActiveCfg = Release|Any CPU {2097BC86-5063-42A3-83E2-1004732AC629}.Release|Any CPU.Build.0 = Release|Any CPU + {19774C29-80C4-4B8C-A7D9-8F42576C4D1C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {19774C29-80C4-4B8C-A7D9-8F42576C4D1C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {19774C29-80C4-4B8C-A7D9-8F42576C4D1C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {19774C29-80C4-4B8C-A7D9-8F42576C4D1C}.Release|Any CPU.Build.0 = Release|Any CPU + {785FFEAF-A688-470C-AB63-5F83219177BC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {785FFEAF-A688-470C-AB63-5F83219177BC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {785FFEAF-A688-470C-AB63-5F83219177BC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {785FFEAF-A688-470C-AB63-5F83219177BC}.Release|Any CPU.Build.0 = Release|Any CPU + {56AB577F-DC4D-4DDE-81ED-6376FB52D5EA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {56AB577F-DC4D-4DDE-81ED-6376FB52D5EA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {56AB577F-DC4D-4DDE-81ED-6376FB52D5EA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {56AB577F-DC4D-4DDE-81ED-6376FB52D5EA}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE