共用方式為


SqlCeMigrationSqlGenerator.GuidColumnDefault 屬性

定義

當移轉中未明確指定任何預設值時,傳回用於儲存產生的 GUID 資料行的資料行預設值。 一律會傳回 SQL Compact 的 newid () 。

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

屬性值

字串 newid () 。

適用於