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 () 。

适用于