SqlServerPropertyAnnotations.GetDefaultValueSql(Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得該屬性預設的 SQL 表達式設定。
protected override string GetDefaultValueSql(bool fallback);
override this.GetDefaultValueSql : bool -> string
Protected Overrides Function GetDefaultValueSql (fallback As Boolean) As String
參數
- fallback
- Boolean
若 true,且設定了某些 SQL Server 特定ValueGenerationStrategy內容,則此方法必回傳null,因為這些策略不使用預設表達式。
傳回
預設表達式,或 null 若未設定,則使用預設表達式。