共用方式為


SqlServerMigrationSqlGenerator.GuidColumnDefault 屬性

定義

當移轉中未明確指定任何預設值時,傳回用於儲存產生的 GUID 資料行的資料行預設值。 傳回內部部署SQL Server 2005 和更新版本的 newsequentialid () 。 傳回 SQL Azure 的 newid () 。

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

屬性值

newsequentialid () 或 newid () 如上所述。

適用於