Jazyk

SqlServerPropertyAnnotations.GetComputedColumnSql(Boolean) Metoda

Definice

Získá vypočítaný výraz SQL sada pro vlastnost.

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

Parametry

fallback
Boolean

Pokud truea některé SQL Server specifické ValueGenerationStrategy byly nastaveny, tato metoda se vždy vrátínull, protože tyto strategie nepoužívají vypočítané výrazy.

Návraty

Vypočítaný výraz nebo null pokud nebyl nastaven žádný.

Platí pro