Skip to content

Add a section to cover that native database-generated concurrency tokens aren't supported for SQLite #4827

@guardrex

Description

@guardrex

Type of issue

Missing information

Description

See if I've made a mistake in my reasoning on this, but this article might include a short section on this subject.

I was investigating why concurrency wasn't working OOB with our Blazor-EF Core sample app, and I found the following remark at Handling Concurrency Conflicts: Native database-generated concurrency tokens (emphasis added):

The rowversion type shown above is a SQL Server-specific feature; the details on setting up an automatically-updating concurrency token differ across databases, and some databases don't support these at all (e.g. SQLite).

Indeed! Our Blazor-EF Core sample app (built by Jeremy Likness) that uses SQLite calls IsRowVersion to use automatic concurrency tokens.

In our Blazor article that accompanies the sample app, I'll call this out, which is tracked by dotnet/AspNetCore.Docs#33799 and resolved by dotnet/AspNetCore.Docs#33800.

My ask here is if you would like to add a short section to this article on SQLite limitations that native database-generated concurrency tokens aren't supported for SQLite? Just in case devs don't see the concurrency article that I mentioned above, they might catch this limitation in this special limitations-focused article.

Page URL

https://learn.microsoft.com/en-us/ef/core/providers/sqlite/limitations

Content source URL

https://github.com/dotnet/EntityFramework.Docs/blob/main/entity-framework/core/providers/sqlite/limitations.md

Document Version Independent Id

545bb0b5-f15b-584e-cef7-7283a0e0729f

Article author

@SamMonoRT

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions