Skip to content

Commit

Permalink
Reorganize project to be logical
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingy committed May 16, 2019
1 parent 0286495 commit b2f96e7
Show file tree
Hide file tree
Showing 31 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using Microsoft.EntityFrameworkCore.UnitOfWork.Collections;

namespace Host.Controllers
namespace Microsoft.EntityFrameworkCore.UnitOfWork.Host.Controllers
{
[Route("api/[controller]")]
public class ValuesController : Controller
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Builder;

namespace Host
namespace Microsoft.EntityFrameworkCore.UnitOfWork.Host
{
public class Program
{
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;

namespace Host
namespace Microsoft.EntityFrameworkCore.UnitOfWork.Host
{
public class Startup
{
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore.UnitOfWork.Collections;
using Microsoft.EntityFrameworkCore.UnitOfWork.Tests;
using Microsoft.EntityFrameworkCore.UnitOfWork.Tests.Entities;
using Xunit;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\Host\Host.csproj" />
<ProjectReference Include="..\..\src\Microsoft.EntityFrameworkCore.UnitOfWork\Microsoft.EntityFrameworkCore.UnitOfWork.csproj" />
<ProjectReference Include="..\Microsoft.EntityFrameworkCore.UnitOfWork.Host\Microsoft.EntityFrameworkCore.UnitOfWork.Host.csproj" />
<ProjectReference Include="..\Microsoft.EntityFrameworkCore.UnitOfWork\Microsoft.EntityFrameworkCore.UnitOfWork.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System;
using System.Collections.Generic;

namespace Microsoft.EntityFrameworkCore
namespace Microsoft.EntityFrameworkCore.UnitOfWork.Collections
{
/// <summary>
/// Provides some extension methods for <see cref="IEnumerable{T}"/> to provide paging capability.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

using System.Collections.Generic;

namespace Microsoft.EntityFrameworkCore
namespace Microsoft.EntityFrameworkCore.UnitOfWork.Collections
{
/// <summary>
/// Provides the interface(s) for paged list of any type.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Threading;
using System.Threading.Tasks;

namespace Microsoft.EntityFrameworkCore
namespace Microsoft.EntityFrameworkCore.UnitOfWork.Collections
{
public static class IQueryablePageListExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Collections.Generic;
using System.Linq;

namespace Microsoft.EntityFrameworkCore
namespace Microsoft.EntityFrameworkCore.UnitOfWork.Collections
{
/// <summary>
/// Represents the default implementation of the <see cref="IPagedList{T}"/> interface.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
using System.Threading;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.EntityFrameworkCore.UnitOfWork.Collections;

namespace Microsoft.EntityFrameworkCore
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.EntityFrameworkCore.UnitOfWork.Collections;

namespace Microsoft.EntityFrameworkCore
{
Expand Down
10 changes: 3 additions & 7 deletions UnitOfWork.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,16 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26430.4
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{A306ECD5-FA8B-47D0-8455-933FB16DA526}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.EntityFrameworkCore.UnitOfWork", "Microsoft.EntityFrameworkCore.UnitOfWork\Microsoft.EntityFrameworkCore.UnitOfWork.csproj", "{18AE36B2-932C-4B16-BE27-B6AB25037F6F}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{EBB11051-E5B2-4EBB-970B-938D28A77CA6}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.EntityFrameworkCore.UnitOfWork", "src\Microsoft.EntityFrameworkCore.UnitOfWork\Microsoft.EntityFrameworkCore.UnitOfWork.csproj", "{18AE36B2-932C-4B16-BE27-B6AB25037F6F}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Host", "src\Host\Host.csproj", "{A1816206-BBF2-40D2-BC3B-0956011BAA53}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.EntityFrameworkCore.UnitOfWork.Host", "Microsoft.EntityFrameworkCore.UnitOfWork.Host\Microsoft.EntityFrameworkCore.UnitOfWork.Host.csproj", "{A1816206-BBF2-40D2-BC3B-0956011BAA53}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{7134BBDC-D68D-4FD4-85B5-5A39EDD5BFD9}"
ProjectSection(SolutionItems) = preProject
README.md = README.md
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.EntityFrameworkCore.UnitOfWork.Tests", "test\Microsoft.EntityFrameworkCore.UnitOfWork.Tests\Microsoft.EntityFrameworkCore.UnitOfWork.Tests.csproj", "{403BEC49-090B-4992-9E9C-62C33A5B8F7D}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.EntityFrameworkCore.UnitOfWork.Tests", "Microsoft.EntityFrameworkCore.UnitOfWork.Tests\Microsoft.EntityFrameworkCore.UnitOfWork.Tests.csproj", "{403BEC49-090B-4992-9E9C-62C33A5B8F7D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down

0 comments on commit b2f96e7

Please sign in to comment.