Language

SqlServerPropertyAnnotations.GetDefaultValue(Boolean) メソッド

定義

プロパティに設定された既定値を取得します。

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

パラメーター

fallback
Boolean

trueし、一部SQL Server特定のValueGenerationStrategyが設定されている場合、これらの方法では既定値が使用されないため、このメソッドは常にnullを返します。

戻り値

既定値。何も設定されていない場合は null 。

適用対象