Skip to content

Commit ce4790f

Browse files
committed
Move EF library to new package
1 parent 989e774 commit ce4790f

File tree

8 files changed

+40
-25
lines changed

8 files changed

+40
-25
lines changed

X.PagedList.sln

+8-1
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Example.Website", "examples
2222
EndProject
2323
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Example.DAL", "examples\Example.DAL\Example.DAL.csproj", "{AD16A8D1-EAF0-4947-BCEC-A8B423B2F117}"
2424
EndProject
25-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "X.PagedList.EF", "src\X.PagedList.EF\X.PagedList.EF.csproj", "{1934BC10-30AE-4C4C-AF22-E444B1F70ACA}"
25+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "X.Extensions.PagedList.EF", "src\X.Extensions.PagedList.EF\X.Extensions.PagedList.EF.csproj", "{1934BC10-30AE-4C4C-AF22-E444B1F70ACA}"
2626
EndProject
2727
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "X.PagedList.Mvc.Core", "src\X.PagedList.Mvc.Core\X.PagedList.Mvc.Core.csproj", "{3B840A44-3150-4BB5-83DA-9B81D1FCB6BE}"
2828
EndProject
29+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "X.PagedList.EF", "src\X.PagedList.EF\X.PagedList.EF.csproj", "{F876C4B5-EA60-44B5-97E7-40B1E7E86DEE}"
30+
EndProject
2931
Global
3032
GlobalSection(SolutionConfigurationPlatforms) = preSolution
3133
Debug|Any CPU = Debug|Any CPU
@@ -60,6 +62,10 @@ Global
6062
{3B840A44-3150-4BB5-83DA-9B81D1FCB6BE}.Debug|Any CPU.Build.0 = Debug|Any CPU
6163
{3B840A44-3150-4BB5-83DA-9B81D1FCB6BE}.Release|Any CPU.ActiveCfg = Release|Any CPU
6264
{3B840A44-3150-4BB5-83DA-9B81D1FCB6BE}.Release|Any CPU.Build.0 = Release|Any CPU
65+
{F876C4B5-EA60-44B5-97E7-40B1E7E86DEE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
66+
{F876C4B5-EA60-44B5-97E7-40B1E7E86DEE}.Debug|Any CPU.Build.0 = Debug|Any CPU
67+
{F876C4B5-EA60-44B5-97E7-40B1E7E86DEE}.Release|Any CPU.ActiveCfg = Release|Any CPU
68+
{F876C4B5-EA60-44B5-97E7-40B1E7E86DEE}.Release|Any CPU.Build.0 = Release|Any CPU
6369
EndGlobalSection
6470
GlobalSection(SolutionProperties) = preSolution
6571
HideSolutionNode = FALSE
@@ -72,6 +78,7 @@ Global
7278
{AD16A8D1-EAF0-4947-BCEC-A8B423B2F117} = {309A8FC8-4784-4D8D-903F-BD54EBB0F1D7}
7379
{1934BC10-30AE-4C4C-AF22-E444B1F70ACA} = {BDDADD09-D112-418E-8469-BC762EC09936}
7480
{3B840A44-3150-4BB5-83DA-9B81D1FCB6BE} = {BDDADD09-D112-418E-8469-BC762EC09936}
81+
{F876C4B5-EA60-44B5-97E7-40B1E7E86DEE} = {BDDADD09-D112-418E-8469-BC762EC09936}
7582
EndGlobalSection
7683
GlobalSection(ExtensibilityGlobals) = postSolution
7784
SolutionGuid = {1A82D446-6F26-48B2-8085-DFA5F87453FC}

examples/Example.Website/Example.Website.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<ProjectReference Include="..\..\src\X.PagedList.EF\X.PagedList.EF.csproj"/>
9+
<ProjectReference Include="..\..\src\X.Extensions.PagedList.EF\X.Extensions.PagedList.EF.csproj" />
1010
<ProjectReference Include="..\..\src\X.PagedList\X.PagedList.csproj"/>
1111
<ProjectReference Include="..\..\src\X.Web.PagedList\X.Web.PagedList.csproj" />
1212
<ProjectReference Include="..\Example.DAL\Example.DAL.csproj"/>
+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# X.PagedList.EF
2+
3+
[![NuGet Version](http://img.shields.io/nuget/v/X.PagedList.EF.svg?style=flat)](https://www.nuget.org/packages/X.PagedList.EF/)
4+
[![Twitter URL](https://img.shields.io/twitter/url/https/twitter.com/andrew_gubskiy.svg?style=social&label=Follow%20me!)](https://twitter.com/intent/user?screen_name=andrew_gubskiy)
5+
6+
7+
## What is this?
8+
The X.PagedList.EF library provides Entity Framework Core extensions for the X.PagedList library, enabling easier
9+
paging through data collections within Entity Framework contexts. This extension facilitates the creation of paged
10+
lists from IQueryable collections, streamlining the process of managing large datasets in .NET applications.
11+
12+
## How to use
13+
You can find all information about how to use X.PagedList libraries in [Wiki](https://github.com/dncuug/X.PagedList/wiki)
14+
15+
## License
16+
Licensed under the [MIT License](https://github.com/dncuug/X.PagedList/blob/master/LICENSE).
17+
18+
## Get a digital subscription for project news
19+
[Subscribe](https://twitter.com/intent/user?screen_name=andrew_gubskiy) to my Twitter to keep up-to-date with project news and receive announcements.
File renamed without changes.
596 Bytes
Binary file not shown.

src/X.PagedList.EF/README.md

+6-10
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
11
# X.PagedList.EF
2+
The X.PagedList.EF is a set of extensions for X.PagedList library which extent Enti
23

3-
[![NuGet Version](http://img.shields.io/nuget/v/X.PagedList.EF.svg?style=flat)](https://www.nuget.org/packages/X.PagedList.EF/)
4-
[![Twitter URL](https://img.shields.io/twitter/url/https/twitter.com/andrew_gubskiy.svg?style=social&label=Follow%20me!)](https://twitter.com/intent/user?screen_name=andrew_gubskiy)
4+
## Important announcement
5+
In a continuous effort to enhance library quality and support, this package has been migrated to X.Web.PagedList.
56

7+
From now on, please use [X.Web.PagedList](https://www.nuget.org/packages/X.Web.PagedList/) instead of this package.
68

7-
## What is this?
8-
The X.PagedList.EF library provides Entity Framework Core extensions for the X.PagedList library, enabling easier
9-
paging through data collections within Entity Framework contexts. This extension facilitates the creation of paged
10-
lists from IQueryable collections, streamlining the process of managing large datasets in .NET applications.
9+
It's important to note that you must update your code to use the `X.PagedList` namespace instead of `X.PagedList.Mvc.Core`.
1110

1211
## How to use
1312
You can find all information about how to use X.PagedList libraries in [Wiki](https://github.com/dncuug/X.PagedList/wiki)
1413

1514
## License
16-
Licensed under the [MIT License](https://github.com/dncuug/X.PagedList/blob/master/LICENSE).
17-
18-
## Get a digital subscription for project news
19-
[Subscribe](https://twitter.com/intent/user?screen_name=andrew_gubskiy) to my Twitter to keep up-to-date with project news and receive announcements.
15+
Licensed under the [MIT License](https://github.com/dncuug/X.PagedList/blob/master/LICENSE).

src/X.PagedList.EF/X.PagedList.EF.csproj

+6-13
Original file line numberDiff line numberDiff line change
@@ -7,31 +7,24 @@
77
<LangVersion>default</LangVersion>
88
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
99

10-
<PackageTags>paging pagedlist paged list entity framework ef</PackageTags>
10+
<PackageTags>paging pagedlist paged list web mvc</PackageTags>
11+
<PackageIcon>x-web.png</PackageIcon>
1112
</PropertyGroup>
1213

1314
<ItemGroup>
14-
<None Include="README.md" Pack="true" PackagePath=""/>
15+
<None Include="README.md" Pack="true" PackagePath="" />
1516
</ItemGroup>
1617

1718
<ItemGroup>
18-
<None Include="../../LICENSE.md" Pack="true" PackagePath=""/>
19+
<None Include="../../LICENSE.md" Pack="true" PackagePath="" />
1920
</ItemGroup>
2021

2122
<ItemGroup>
22-
<PackageReference Include="JetBrains.Annotations" Version="2024.2.0" PrivateAssets="all"/>
23-
</ItemGroup>
24-
25-
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
26-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="[7.0.20,8)"/>
27-
</ItemGroup>
28-
29-
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
30-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.7"/>
23+
<None Include="../../x-web.png" Pack="True" PackagePath=""/>
3124
</ItemGroup>
3225

3326
<ItemGroup>
34-
<ProjectReference Include="..\X.PagedList\X.PagedList.csproj"/>
27+
<ProjectReference Include="..\X.Extensions.PagedList.EF\X.Extensions.PagedList.EF.csproj" />
3528
</ItemGroup>
3629

3730
</Project>

0 commit comments

Comments
 (0)