SqlServerDesignEventId Enum
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
记录来自设计实体框架核心组件的消息时用作 eventId 的值SQL Server。
public enum SqlServerDesignEventId
type SqlServerDesignEventId =
Public Enum SqlServerDesignEventId
- 继承
-
SqlServerDesignEventId
字段
| 名称 | 值 | 说明 |
|---|---|---|
| CannotInterpretComputedValueWarning | 12 | 无法解释计算值。 |
| CannotInterpretDefaultValueWarning | 11 | 无法解释默认值。 |
| ColumnMustBeNamedWarning | 3 | 表中的列名为空。 |
| ColumnNameEmptyOnForeignKey | 9 | 外键上的列名为空。 |
| DataTypeDoesNotAllowSqlServerIdentityStrategyWarning | 10 | 数据类型不允许SQL Server标识策略。 |
| ForeignKeyColumnSkipped | 8 | 外键列不在选择集中。 |
| ForeignKeyMustBeNamedWarning | 7 | 外键名称为空。 |
| FoundDefaultSchema | 1 | 找到默认架构。 |
| FoundTypeAlias | 2 | 找到的类型别名。 |
| IndexColumnMustBeNamedWarning | 6 | 索引上的列名为空。 |
| IndexMustBeNamedWarning | 4 | 索引名称为空。 |
| IndexTableMissingWarning | 5 | 找不到索引表。 |