Browse Source

Removing Entity Framework

main
Jonathan McCaffrey 4 years ago
parent
commit
9a7072e931
  1. 1
      Components/_Imports.razor
  2. 1
      IGP/IGP.csproj
  3. 1
      IGP/_Imports.razor
  4. 7
      Services/Development/NoteService.cs
  5. 1
      Services/Services.csproj

1
Components/_Imports.razor

@ -2,7 +2,6 @@
@using Microsoft.AspNetCore.Components.Routing @using Microsoft.AspNetCore.Components.Routing
@using Microsoft.AspNetCore.Components.Web @using Microsoft.AspNetCore.Components.Web
@using Microsoft.AspNetCore.Components.Web.Virtualization @using Microsoft.AspNetCore.Components.Web.Virtualization
@using Microsoft.EntityFrameworkCore
@using Microsoft.JSInterop @using Microsoft.JSInterop
@using Model.Feedback @using Model.Feedback
@using Model.Website @using Model.Website

1
IGP/IGP.csproj

@ -37,7 +37,6 @@
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\Components\Components.csproj" /> <ProjectReference Include="..\Components\Components.csproj" />
<ProjectReference Include="..\Contexts\Contexts.csproj" />
<ProjectReference Include="..\Model\Model.csproj" /> <ProjectReference Include="..\Model\Model.csproj" />
<ProjectReference Include="..\Services\Services.csproj" /> <ProjectReference Include="..\Services\Services.csproj" />
</ItemGroup> </ItemGroup>

1
IGP/_Imports.razor

@ -33,7 +33,6 @@
@using Microsoft.AspNetCore.Components.Web @using Microsoft.AspNetCore.Components.Web
@using Microsoft.AspNetCore.Components.Web.Virtualization @using Microsoft.AspNetCore.Components.Web.Virtualization
@using Microsoft.AspNetCore.Components.WebAssembly.Http @using Microsoft.AspNetCore.Components.WebAssembly.Http
@using Microsoft.EntityFrameworkCore
@using Microsoft.Extensions.Localization @using Microsoft.Extensions.Localization
@using Microsoft.JSInterop @using Microsoft.JSInterop
@using Model.Chart @using Model.Chart

7
Services/Development/NoteService.cs

@ -1,13 +1,6 @@
using System.Net.Http.Json; using System.Net.Http.Json;
using Model.Notes; using Model.Notes;
#if NO_SQL
#else
using Contexts;
using Microsoft.EntityFrameworkCore;
#endif
namespace Services.Development; namespace Services.Development;
public class NoteService : INoteService public class NoteService : INoteService

1
Services/Services.csproj

@ -19,7 +19,6 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\Contexts\Contexts.csproj" />
<ProjectReference Include="..\Model\Model.csproj" /> <ProjectReference Include="..\Model\Model.csproj" />
</ItemGroup> </ItemGroup>

Loading…
Cancel
Save