Inizio inserimento classi x EFCore

This commit is contained in:
Samuele Locatelli
2021-05-15 16:36:53 +02:00
parent 912852c4eb
commit 1fc8d234f7
4 changed files with 37 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MpDataLayer
{
class Constants
{
}
}
@@ -2,7 +2,7 @@
namespace MpDataLayer
{
public class Class1
public class Enums
{
}
}
}
+11
View File
@@ -4,4 +4,15 @@
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Folder Include="Controllers\" />
<Folder Include="DatabaseModels\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="5.0.6" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="5.0.6" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="5.0.6" />
</ItemGroup>
</Project>
+12
View File
@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MpDataLayer
{
public class StatsDbContext
{
}
}