SqlServerPropertyAnnotations.GetDefaultValueSql(Boolean) Method

Definition

Gets the default SQL expression set for the property.

protected override string GetDefaultValueSql (bool fallback);
override this.GetDefaultValueSql : bool -> string
Protected Overrides Function GetDefaultValueSql (fallback As Boolean) As String

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 expressions.

Returns

The default expression, or null if none has been set.

Applies to