renamed files

EFCore3_Reforged
Marc CHEVALDONNE 6 years ago
parent c27075e7e6
commit 1e2750f7fc

@ -546,9 +546,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "_LISEZ-MOI_ !!", "_LISEZ-MO
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ex_041_001_ConnectionStrings", "p08_BDD_EntityFramework\ex_041_001_ConnectionStrings\ex_041_001_ConnectionStrings.csproj", "{097B0926-6663-4B7E-BBBE-DAA7EE278C7C}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ex_041_001_ConnectionStrings", "p08_BDD_EntityFramework\ex_041_001_ConnectionStrings\ex_041_001_ConnectionStrings.csproj", "{097B0926-6663-4B7E-BBBE-DAA7EE278C7C}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ex_041_004_InMemory", "p08_BDD_EntityFramework\ex_041_004_InMemory\ex_041_004_InMemory.csproj", "{94FB8F0A-7BAD-423B-B26E-A1D2DCC62184}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ex_041_004_TestingInMemory", "p08_BDD_EntityFramework\ex_041_004_InMemory\ex_041_004_TestingInMemory.csproj", "{94FB8F0A-7BAD-423B-B26E-A1D2DCC62184}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ex_041_004_UnitTests", "p08_BDD_EntityFramework\ex_041_004_UnitTests\ex_041_004_UnitTests.csproj", "{00BDA989-5CC0-42C0-A2D4-B79429F2FE17}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ex_041_004_UnitTests", "p08_BDD_EntityFramework\ex_041_004_UnitTests\ex_041_004_UnitTests.csproj", "{00BDA989-5CC0-42C0-A2D4-B79429F2FE17}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution

@ -1,6 +1,6 @@
using System; using System;
namespace ex_041_004_InMemory namespace ex_041_004_TestingInMemory
{ {
public class Nounours public class Nounours
{ {

@ -1,6 +1,6 @@
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
namespace ex_041_004_InMemory namespace ex_041_004_TestingInMemory
{ {
public class NounoursContext : DbContext public class NounoursContext : DbContext
{ {
@ -17,7 +17,7 @@ namespace ex_041_004_InMemory
{ {
if (!options.IsConfigured) if (!options.IsConfigured)
{ {
options.UseSqlServer(@"Server=(localdb)\mssqllocaldb;Database=ex_041_004_InMemory.Nounours.mdf;Trusted_Connection=True;"); options.UseSqlServer(@"Server=(localdb)\mssqllocaldb;Database=ex_041_004_TestingInMemory.Nounours.mdf;Trusted_Connection=True;");
} }
} }
} }

@ -1,6 +1,6 @@
using System; using System;
namespace ex_041_004_InMemory namespace ex_041_004_TestingInMemory
{ {
class Program class Program
{ {

@ -15,7 +15,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\ex_041_004_InMemory\ex_041_004_InMemory.csproj" /> <ProjectReference Include="..\ex_041_004_InMemory\ex_041_004_TestingInMemory.csproj" />
</ItemGroup> </ItemGroup>
</Project> </Project>

@ -2,14 +2,14 @@
##### fundamentals (41) ##### fundamentals (41)
* connection strings * connection strings
* V 001 exemple avec une connection string dans OnConfiguring * V 001 exemple avec une connection string dans OnConfiguring
* 002 exemple avec une connection string dans AppConfig ou équivalent ? * ? 002 exemple avec une connection string dans AppConfig ou équivalent ?
* 003 le même avec SecretManager pour les mots de passe ? * ? 003 le même avec SecretManager pour les mots de passe ?
* 006 connection resiliency ? * ? 006 connection resiliency ?
* testing * testing
* 005 SQLite in memory * 005 SQLite in memory
* 004 InMemory * V 004 InMemory
* configuring a dbcontext ? * ? configuring a dbcontext ?
* nullable reference types => navigating (include, theninclude) * ? nullable reference types => navigating (include, theninclude)
##### creating a model (42) ##### creating a model (42)
* entity types, entity properties, keys, generated values, backing fields? * entity types, entity properties, keys, generated values, backing fields?
* initialization strategy, seeding data * initialization strategy, seeding data

Loading…
Cancel
Save