SqlServerPropertyAnnotations.CanSetValueGenerationStrategy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks whether or not it is valid to set the given SqlServerValueGenerationStrategy for the property.
protected virtual bool CanSetValueGenerationStrategy (Microsoft.EntityFrameworkCore.Metadata.SqlServerValueGenerationStrategy? value);
abstract member CanSetValueGenerationStrategy : Nullable<Microsoft.EntityFrameworkCore.Metadata.SqlServerValueGenerationStrategy> -> bool
override this.CanSetValueGenerationStrategy : Nullable<Microsoft.EntityFrameworkCore.Metadata.SqlServerValueGenerationStrategy> -> bool
Protected Overridable Function CanSetValueGenerationStrategy (value As Nullable(Of SqlServerValueGenerationStrategy)) As Boolean
Parameters
The strategy to check.
Returns
True
if it is valid to set; false
otherwise.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework