Commit b81e617 1 parent d4d0540 commit b81e617 Copy full SHA for b81e617
File tree 6 files changed +17
-21
lines changed
examples/Example.Website/Controllers
X.Extensions.PagedList.EF
6 files changed +17
-21
lines changed Original file line number Diff line number Diff line change 2
2
using System . Threading . Tasks ;
3
3
using Example . DAL ;
4
4
using Microsoft . AspNetCore . Mvc ;
5
- using X . PagedList . EF ;
5
+ using X . Extensions . PagedList . EF ;
6
6
7
7
namespace Example . Website . Controllers ;
8
8
Original file line number Diff line number Diff line change 1
- using JetBrains . Annotations ;
2
- using Microsoft . EntityFrameworkCore ;
3
- using System ;
1
+ using System ;
4
2
using System . Collections . Generic ;
5
3
using System . Linq ;
6
4
using System . Threading ;
7
5
using System . Threading . Tasks ;
6
+ using JetBrains . Annotations ;
7
+ using Microsoft . EntityFrameworkCore ;
8
+ using X . PagedList ;
8
9
9
- namespace X . PagedList . EF ;
10
+ namespace X . Extensions . PagedList . EF ;
10
11
11
12
/// <summary>
12
13
/// EntityFramework extension methods designed to simplify the creation of instances of <see cref="PagedList{T}"/>.
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <Title >X.PagedList.EF</Title >
4
+ <Title >X.Extensions. PagedList.EF</Title >
5
5
<Description >EF extensions for X.PagedList library</Description >
6
6
7
7
<LangVersion >default</LangVersion >
8
8
<TargetFrameworks >net6.0;net8.0</TargetFrameworks >
9
9
10
10
<PackageTags >paging pagedlist paged list entity framework ef</PackageTags >
11
-
12
- <RootNamespace >X.PagedList.EF</RootNamespace >
11
+ <PackageIcon >x-web.png</PackageIcon >
13
12
</PropertyGroup >
14
13
15
14
<ItemGroup >
20
19
<None Include =" ../../LICENSE.md" Pack =" true" PackagePath =" " />
21
20
</ItemGroup >
22
21
23
- <ItemGroup >
24
- <PackageReference Include =" JetBrains.Annotations" Version =" 2024.2.0" PrivateAssets =" all" />
25
- </ItemGroup >
26
-
27
22
<ItemGroup Condition =" '$(TargetFramework)' == 'net6.0'" >
28
23
<PackageReference Include =" Microsoft.EntityFrameworkCore" Version =" [7.0.20,8)" />
29
24
</ItemGroup >
Original file line number Diff line number Diff line change 12
12
</PropertyGroup >
13
13
14
14
<ItemGroup >
15
- <None Include =" README.md" Pack =" true" PackagePath =" " />
15
+ <None Include =" README.md" Pack =" true" PackagePath =" " />
16
16
</ItemGroup >
17
17
18
18
<ItemGroup >
19
- <None Include =" ../../LICENSE.md" Pack =" true" PackagePath =" " />
19
+ <None Include =" ../../LICENSE.md" Pack =" true" PackagePath =" " />
20
20
</ItemGroup >
21
21
22
22
<ItemGroup >
23
23
<None Include =" ../../x-web.png" Pack =" True" PackagePath =" " />
24
24
</ItemGroup >
25
25
26
26
<ItemGroup >
27
- <FrameworkReference Include =" Microsoft.AspNetCore.App" />
27
+ <FrameworkReference Include =" Microsoft.AspNetCore.App" />
28
28
</ItemGroup >
29
29
30
30
<ItemGroup >
31
- <ProjectReference Include =" ..\X.Web.PagedList\X.Web.PagedList.csproj" />
31
+ <ProjectReference Include =" ..\X.Web.PagedList\X.Web.PagedList.csproj" />
32
32
</ItemGroup >
33
33
34
34
</Project >
Original file line number Diff line number Diff line change 12
12
</PropertyGroup >
13
13
14
14
<ItemGroup >
15
- <None Include =" README.md" Pack =" true" PackagePath =" " />
15
+ <None Include =" README.md" Pack =" true" PackagePath =" " />
16
16
</ItemGroup >
17
17
18
18
<ItemGroup >
19
- <None Include =" ../../LICENSE.md" Pack =" true" PackagePath =" " />
19
+ <None Include =" ../../LICENSE.md" Pack =" true" PackagePath =" " />
20
20
</ItemGroup >
21
21
22
22
<ItemGroup >
23
23
<None Include =" ../../x-web.png" Pack =" True" PackagePath =" " />
24
24
</ItemGroup >
25
25
26
26
<ItemGroup >
27
- <FrameworkReference Include =" Microsoft.AspNetCore.App" />
28
- <PackageReference Include =" JetBrains.Annotations" Version =" 2024.2.0" PrivateAssets =" all" />
27
+ <FrameworkReference Include =" Microsoft.AspNetCore.App" />
28
+ <PackageReference Include =" JetBrains.Annotations" Version =" 2024.2.0" PrivateAssets =" all" />
29
29
</ItemGroup >
30
30
31
31
<ItemGroup >
32
- <ProjectReference Include =" ..\X.PagedList\X.PagedList.csproj" />
32
+ <ProjectReference Include =" ..\X.PagedList\X.PagedList.csproj" />
33
33
</ItemGroup >
34
34
35
35
</Project >
You can’t perform that action at this time.
0 commit comments