-
-
Notifications
You must be signed in to change notification settings - Fork 602
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 Integrations #67
Comments
At the moment it supports MsSQL only. |
Thanks for information. |
Looks like a great library! I am also not using SQL Server, though. I'd recommend making the db provider support more prominent on the README, as it is not immediately obvious to potential users that it only supports SQL Server. |
It is stated in the first paragraph:
|
Still no news about support PostgreSQL? |
Not yet. |
As workaround you can use linq2db BulkCopy functionality through EF.Core adapter https://github.com/linq2db/linq2db/wiki/Bulk-Copy#postgresql-provider-specific-bulk-copy |
EFCore.BuildExtension is a great library, unfortunately it doesn't support Postgres. You can use 'FlexLabs.Upsert' nuget as alternative for Postgres |
Is this still in the roadmap? Anything I could do to help? I'm not an expert but I sure could give you a hand. |
I started some work on this, made so far shell of methods and prof of concept for basic Insert. |
WE ALL ARE WAITING FOR POSTGRESQL SUPPORT :) |
+1 |
This would be very nice to have, just switched to Postgres and was quite surprised when the queries stopped working :/ |
Can u push that branch into repo? We will be happy to help with the implementation, if possible. |
PostgreSql adapter added with v6.0.4 |
PostgreSql now fully supported, Bulk and Batch ops, v6.0.5 |
Hi! sorry if I'm writing to the wrong thread i faced the following problems while working PostgreSql: [Column(TypeName = "jsonb")]
public List<CatalogPathData> Catalogs { get; set; } i have got error:
and i have problems with enums: public enum ConditionType : byte
{
Regular,
Sale,
Unconditional
}
public ConditionType Condition { get; set; } error:
P.S. i'm using EFCore.NamingConventions package and EFCore 6 thank you in advance! |
Instead of Write'ing just value also provide column type name when available. In this case correct column type will be used for CLR types that are not natively supported or mapped. While this pretty much fixes the issue borisdj#67, relying on final column type can lead to issues when assumed type handler doesn't match the actual type. For example uint32 has pg type bigint, but default handler for this type is Int64Handler which doesn't handle uint32.
Enums should be fixed with v6.1.8 |
How invasive is it to backport this to support EFCore 3.1? We are running on .NET Framework which is only supported by EFCore 3.1. |
Prior versions are not actively maintained. |
I use "Npgsql.EntityFrameworkCore.PostgreSQL" with EF Core in the project. Does your library support PostgreSQL? If not, do you have a plan to do this later?
The text was updated successfully, but these errors were encountered: