SqlServerPropertyAnnotations.GetDefaultValue(Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得為 屬性設定的預設值。
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 為 。