Skip to content
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

Issue with BulkMerge and IsReadOnly in PostgreSQL #613

Open
hackwithbalaji opened this issue Nov 29, 2024 · 3 comments
Open

Issue with BulkMerge and IsReadOnly in PostgreSQL #613

hackwithbalaji opened this issue Nov 29, 2024 · 3 comments
Assignees

Comments

@hackwithbalaji
Copy link

Description

Hi Team,

We are encountering an issue while using BulkMerge with IncludeGraphOperationBuilder in PostgreSQL. The configuration bulk.IsReadOnly = true is supposed to prevent updates for an entity, and this functionality works as expected in MSSQL. However, in PostgreSQL, it does not behave correctly and upserts are still being attempted.

Further technical details

  • EF Core version: 9.0.0
  • EF Extensions version: 9.103.6.3

Kindly investigate this issue and provide a fix or suggestion. Let me know if further details or testing are needed.

@JonathanMagnan

Thanks
--Balaji

@JonathanMagnan JonathanMagnan self-assigned this Nov 29, 2024
@JonathanMagnan
Copy link
Member

Hello @hackwithbalaji ,

Unfortunately, that option is only supported for SQL Server at this moment.

We will add a text for this option and probably an error message to give more indication about it.

Best Regards,

Jon

@hackwithbalaji
Copy link
Author

Thanks @JonathanMagnan for the clarification!!

As we are migrating from MSSQL to PostgreSQL, it would be helpful if you could provide a comprehensive list of features and options that are supported in MSSQL but not in PostgreSQL. I couldn't find anything in the documentation.

Currently, I am manually checking for compatibility in each module, which is both time-consuming and challenging. A documented list would help us plan effectively.

@JonathanMagnan
Copy link
Member

Hello @hackwithbalaji ,

I'm dedicating the whole of December month to improving the documentation (one of the reasons we refuse at this moment a lot of new features/requests as otherwise I'm only able to do the code review of my developers).

We will surely try our best to add more details about all our options.

Best Regards,

Jon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants