-
Notifications
You must be signed in to change notification settings - Fork 453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PostgreSQL Test Error when get Hours on TimeSpan #2950
Comments
We need a TimeSpan Part Builder like the DatePart Builder: linq2db/Source/LinqToDB/Sql/Sql.DateTime.cs Line 401 in 054da1e
and then the Expressions for all parts like here: linq2db/Source/LinqToDB/Linq/Expressions.cs Line 591 in 8246efe
|
@jogibear9988 @MaceWindu I tried searching for creating a nuget locally and then attaching the nuget to the project and test it out. |
To build nuget locally, use |
Is there any easy way to test without building nuget? |
Just add |
I have created a console app in .NET CORE and added this project as reference. Main method where I am creating connection as per code given in gitpage.
Error I am getting
I debugged it and found that assembly is getting as null in NpgsqlProviderAdapter.cs file
Appreciate any help in fixing this. |
Looks like you didn't added rerefence to Npgsql nuget |
@MaceWindu I am somewhat confused with the solution proposed by @jogibear9988 Also, any reference to the internal working of the code would be helpful. |
model
error test
Environment details
linq2db version: 3.3.0
Database: PostgreSQL 12.1
.NET Framework: 4.7.2
The text was updated successfully, but these errors were encountered: