語言

SqlCeMigrationSqlGenerator.GuidColumnDefault 屬性

定義

當遷移過程中未明確指定預設值時,會回傳欄位預設值,用於儲存產生的 GUID 欄位。 SQL Compact 總是回傳 newid()

protected virtual string GuidColumnDefault { get; }
member this.GuidColumnDefault : string
Protected Overridable ReadOnly Property GuidColumnDefault As String

屬性值

字串 newid()。

適用於