I found something but I'm not there yet.
annotions in .net 5 are handled totally different.
the read part makes is easier, but somehow I need to set them.
for this I think I need to override method "ProcessPropertyAnnotationChanged" in
https://github.com/dotnet/efcore/blob/release/5.0/src/EFCore.SqlServer/Metadata/Conventions/SqlServerValueGenerationConvention.cs
before I used ReplaceService to do that,
but I cannot do that here, since there is a hard call for the specified class here
https://github.com/dotnet/efcore/blob/release/5.0/src/EFCore.SqlServer/Metadata/Conventions/SqlServerConventionSetBuilder.cs
on line 58.
so my question now is,
how can I override the SqlServerValueGenerationConvention class, to always use mine which inherits the former class?
public class MyClassSqlServerValueGenerationConvention :SqlServerValueGenerationConvention
{