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