Share via


SqlServerPropertyAnnotations.GetComputedColumnSql(Boolean) Method

Definition

Gets the computed SQL expression set for the property.

protected override string GetComputedColumnSql (bool fallback);
override this.GetComputedColumnSql : bool -> string
Protected Overrides Function GetComputedColumnSql (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 computed expressions.

Returns

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

Applies to