Compartir a través de


SqlServerPropertyAnnotations.GetDefaultValue(Boolean) Método

Definición

Obtiene el valor predeterminado establecido para la propiedad .

protected override object GetDefaultValue(bool fallback);
override this.GetDefaultValue : bool -> obj
Protected Overrides Function GetDefaultValue (fallback As Boolean) As Object

Parámetros

fallback
Boolean

Si truese ha establecido , y algunos SQL Server específicosValueGenerationStrategy, este método siempre devolverá null porque estas estrategias no usan valores predeterminados.

Devoluciones

Valor predeterminado o null si no se ha establecido ninguno.

Se aplica a