Can't map array to List<T>
Regarding closed issue https://github.com/npgsql/Npgsql.EntityFrameworkCore.PostgreSQL/issues/266, I tried 2.1.0-rc1 - encountered blocking scaffolding problem. When i tried to install unstable version from nuget, i got error from PM:
Install-Package : NU1102: Unable to find package Microsoft.EntityFrameworkCore with version (>= 2.1.0-rtm-30736)
- Found 25 version(s) in nuget.org [ Nearest version: 2.1.0-rc1-final ]
- Found 0 version(s) in Microsoft Visual Studio Offline Packages At line:1 char:1
- Install-Package Npgsql.EntityFrameworkCore.PostgreSQL -Version 2.1.0- ...
-
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : NU1102: Unable to find package Microsoft.EntityFrameworkCore.Abstractions with version (>= 2.1.0-rtm-30736)
- Found 2 version(s) in nuget.org [ Nearest version: 2.1.0-rc1-final ]
- Found 0 version(s) in Microsoft Visual Studio Offline Packages At line:1 char:1
- Install-Package Npgsql.EntityFrameworkCore.PostgreSQL -Version 2.1.0- ...
-
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : NU1102: Unable to find package Microsoft.EntityFrameworkCore.Relational with version (>= 2.1.0-rtm-30736)
- Found 25 version(s) in nuget.org [ Nearest version: 2.1.0-rc1-final ]
- Found 0 version(s) in Microsoft Visual Studio Offline Packages At line:1 char:1
- Install-Package Npgsql.EntityFrameworkCore.PostgreSQL -Version 2.1.0- ...
-
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : Package restore failed. Rolling back package changes for 'PodunavljeHR'. At line:1 char:1
- Install-Package Npgsql.EntityFrameworkCore.PostgreSQL -Version 2.1.0- ...
-
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
At least for me, still not possible to map array from db to List
I intend to release an rc2 soon, which should make everything much easier.
If you want to use the unstable packages from the myget feed, you also need to add the myget feeds for .NET Core daily builds. Try dropping the following in your NuGet.Config:
<add key="DotnetCore" value="https://dotnet.myget.org/f/dotnet-core" />
<add key="AspNetCoreDev" value="https://dotnet.myget.org/f/aspnetcore-dev" />
<add key="NpgsqlUnstable" value="https://www.myget.org/F/npgsql-unstable/api/v3/index.json" />