Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "liuyang"

It works, Thank you.

when I try to run zero in gitlab CI/CD , errors show up.

Restore completed in 3.63 sec for /home/gitlab-runner/builds/sy-jJ1Bb/0/root/eteamlink.gisdemo/aspnet-core/src/ETeamLink.Zero.Web.Public/ETeamLink.Zero.Web.Public.csproj. /usr/share/dotnet/sdk/2.2.300/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.CrossTargeting.targets(31,5): error : The 'Publish' target is not supported without specifying a target framework. The current project targets multiple frameworks, please specify the framework for the published application. [/home/gitlab-runner/builds/sy-jJ1Bb/0/root/eteamlink.gisdemo/aspnet-core/src/ETeamLink.Zero.Core.Shared/ETeamLink.Zero.Core.Shared.csproj] /usr/share/dotnet/sdk/2.2.300/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.CrossTargeting.targets(31,5): error : The 'Publish' target is not supported without specifying a target framework. The current project targets multiple frameworks, please specify the framework for the published application. [/home/gitlab-runner/builds/sy-jJ1Bb/0/root/eteamlink.gisdemo/aspnet-core/src/ETeamLink.Zero.Application.Shared/ETeamLink.Zero.Application.Shared.csproj] ETeamLink.Zero.Core.Shared -> /home/gitlab-runner/builds/sy-jJ1Bb/0/root/eteamlink.gisdemo/aspnet-core/src/ETeamLink.Zero.Core.Shared/bin/Release/netstandard2.0/ETeamLink.Zero.Core.Shared.dll ETeamLink.Zero.Core -> /home/gitlab-runner/builds/sy-jJ1Bb/0/root/eteamlink.gisdemo/aspnet-core/src/ETeamLink.Zero.Core/bin/Release/netcoreapp2.2/ETeamLink.Zero.Core.dll ETeamLink.Zero.Core -> /GisDemoManagement-test/ ETeamLink.Zero.Application.Shared -> /home/gitlab-runner/builds/sy-jJ1Bb/0/root/eteamlink.gisdemo/aspnet-core/src/ETeamLink.Zero.Application.Shared/bin/Release/netstandard2.0/ETeamLink.Zero.Application.Shared.dll Program.cs(41,31): warning CS0618: 'DiscoveryClient' is obsolete: 'This type will be deprecated or changed in a future version. It is recommended that you switch to the new extension methods for HttpClient. They give you much more control over the HttpClient lifetime and configuration. See the docs here: https://identitymodel.readthedocs.io' [/home/gitlab-runner/builds/sy-jJ1Bb/0/root/eteamlink.gisdemo/aspnet-core/test/ETeamLink.Zero.ConsoleApiClient/ETeamLink.Zero.ConsoleApiClient.csproj] Program.cs(47,39): warning CS0618: 'TokenClient' is obsolete: 'This type will be deprecated or changed in a future version. It is recommended that you switch to the new extension methods for HttpClient. They give you much more control over the HttpClient lifetime and configuration. See the docs here: https://identitymodel.readthedocs.io' [/home/gitlab-runner/builds/sy-jJ1Bb/0/root/eteamlink.gisdemo/aspnet-core/test/ETeamLink.Zero.ConsoleApiClient/ETeamLink.Zero.ConsoleApiClient.csproj] Migrations/Seed/Host/DefaultSettingsCreator.cs(26,17): warning CS0162: Unreachable code detected [/home/gitlab-runner/builds/sy-jJ1Bb/0/root/eteamlink.gisdemo/aspnet-core/src/ETeamLink.Zero.EntityFrameworkCore/ETeamLink.Zero.EntityFrameworkCore.csproj] ETeamLink.Zero.ConsoleApiClient -> /home/gitlab-runner/builds/sy-jJ1Bb/0/root/eteamlink.gisdemo/aspnet-core/test/ETeamLink.Zero.ConsoleApiClient/bin/Release/netcoreapp2.2/ETeamLink.Zero.ConsoleApiClient.dll ETeamLink.Zero.ConsoleApiClient -> /GisDemoManagement-test/ ETeamLink.Zero.GraphQL -> /home/gitlab-runner/builds/sy-jJ1Bb/0/root/eteamlink.gisdemo/aspnet-core/src/ETeamLink.Zero.GraphQL/bin/Release/netcoreapp2.2/ETeamLink.Zero.GraphQL.dll ETeamLink.Zero.EntityFrameworkCore -> /home/gitlab-runner/builds/sy-jJ1Bb/0/root/eteamlink.gisdemo/aspnet-core/src/ETeamLink.Zero.EntityFrameworkCore/bin/Release/netcoreapp2.2/ETeamLink.Zero.EntityFrameworkCore.dll ETeamLink.Zero.EntityFrameworkCore -> /GisDemoManagement-test/ ETeamLink.Zero.GraphQL -> /GisDemoManagement-test/ ETeamLink.Zero.Migrator -> /home/gitlab-runner/builds/sy-jJ1Bb/0/root/eteamlink.gisdemo/aspnet-core/src/ETeamLink.Zero.Migrator/bin/Release/netcoreapp2.2/ETeamLink.Zero.Migrator.dll ETeamLink.Zero.Migrator -> /GisDemoManagement-test/ ETeamLink.Zero.Application -> /home/gitlab-runner/builds/sy-jJ1Bb/0/root/eteamlink.gisdemo/aspnet-core/src/ETeamLink.Zero.Application/bin/Release/netcoreapp2.2/ETeamLink.Zero.Application.dll ETeamLink.Zero.Application -> /GisDemoManagement-test/ ETeamLink.Zero.Test.Base -> /home/gitlab-runner/builds/sy-jJ1Bb/0/root/eteamlink.gisdemo/aspnet-core/test/ETeamLink.Zero.Test.Base/bin/Release/netcoreapp2.2/ETeamLink.Zero.GraphQL.Test.Base.dll ETeamLink.Zero.Test.Base -> /GisDemoManagement-test/ ETeamLink.Zero.Web.Core -> /home/gitlab-runner/builds/sy-jJ1Bb/0/root/eteamlink.gisdemo/aspnet-core/src/ETeamLink.Zero.Web.Core/bin/Release/netcoreapp2.2/ETeamLink.Zero.Web.Core.dll ETeamLink.Zero.Web.Core -> /GisDemoManagement-test/ ETeamLink.Zero.GraphQL.Tests -> /home/gitlab-runner/builds/sy-jJ1Bb/0/root/eteamlink.gisdemo/aspnet-core/test/ETeamLink.Zero.GraphQL.Tests/bin/Release/netcoreapp2.2/ETeamLink.Zero.GraphQL.Tests.dll ETeamLink.Zero.Tests -> /home/gitlab-runner/builds/sy-jJ1Bb/0/root/eteamlink.gisdemo/aspnet-core/test/ETeamLink.Zero.Tests/bin/Release/netcoreapp2.2/ETeamLink.Zero.Tests.dll ETeamLink.Zero.GraphQL.Tests -> /GisDemoManagement-test/ ETeamLink.Zero.Web.Public -> /home/gitlab-runner/builds/sy-jJ1Bb/0/root/eteamlink.gisdemo/aspnet-core/src/ETeamLink.Zero.Web.Public/bin/Release/netcoreapp2.2/ETeamLink.Zero.Web.Public.dll ETeamLink.Zero.Web.Public -> /home/gitlab-runner/builds/sy-jJ1Bb/0/root/eteamlink.gisdemo/aspnet-core/src/ETeamLink.Zero.Web.Public/bin/Release/netcoreapp2.2/ETeamLink.Zero.Web.Public.Views.dll ETeamLink.Zero.Web.Host -> /home/gitlab-runner/builds/sy-jJ1Bb/0/root/eteamlink.gisdemo/aspnet-core/src/ETeamLink.Zero.Web.Host/bin/Release/netcoreapp2.2/ETeamLink.Zero.Web.Host.dll ETeamLink.Zero.Web.Host -> /home/gitlab-runner/builds/sy-jJ1Bb/0/root/eteamlink.gisdemo/aspnet-core/src/ETeamLink.Zero.Web.Host/bin/Release/netcoreapp2.2/ETeamLink.Zero.Web.Host.Views.dll ETeamLink.Zero.Tests -> /GisDemoManagement-test/ ETeamLink.Zero.Web.Host -> /GisDemoManagement-test/ ETeamLink.Zero.Web.Public -> /GisDemoManagement-test/ ERROR: Job failed: exit status 1

Question

I want Take data from the database as a parameter, then use data filter in AbpDbContext,so How can I take data in AbpDbContext

Showing 1 to 3 of 3 entries