语言

SqlCeMigrationSqlGenerator.GuidColumnDefault 属性

定义

返回在迁移中未显式指定任何默认值时用于存储生成的 GUID 列的列默认值。 始终为 SQL Compact 返回 newid()。

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

属性值

字符串 newid()。

适用于