SqlServerPropertyAnnotations.GetDefaultValue(Boolean) 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.
Gets the default value set for the property.
protected override object GetDefaultValue (bool fallback);
override this.GetDefaultValue : bool -> obj
Protected Overrides Function GetDefaultValue (fallback As Boolean) As Object
Parameters
- fallback
- Boolean
If true
, and some SQL Server specific
ValueGenerationStrategy has been set, then this method will always
return null
because these strategies do not use default values.
Returns
The default value, or null
if none has been set.
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