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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework