SqlServerMigrationSqlGenerator.GuidColumnDefault 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回在迁移中未显式指定默认值时用于存储生成的 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 () 。