CoreStrings.KeyInUse 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| KeyInUse(Object, Object, Object, Object) |
无法从实体类型“{entityType}”中删除键 {keyProperties},因为它由实体类型“{dependentType}”上定义的外键 {foreignKeyProperties} 引用。 在删除密钥之前,删除或更改所有引用外键的主体密钥。 |
| KeyInUse(Object, Object, Object) |
无法从实体类型“{entityType}”中删除键 {key},因为它由实体类型“{dependentType}”中的外键引用。 必须先删除或重新定义所有外键,然后才能删除引用的键。 |
KeyInUse(Object, Object, Object, Object)
- Source:
- CoreStrings.Designer.cs
- Source:
- CoreStrings.Designer.cs
- Source:
- CoreStrings.Designer.cs
- Source:
- CoreStrings.Designer.cs
- Source:
- CoreStrings.Designer.cs
- Source:
- CoreStrings.Designer.cs
- Source:
- CoreStrings.Designer.cs
无法从实体类型“{entityType}”中删除键 {keyProperties},因为它由实体类型“{dependentType}”上定义的外键 {foreignKeyProperties} 引用。 在删除密钥之前,删除或更改所有引用外键的主体密钥。
public static string KeyInUse(object? keyProperties, object? entityType, object? foreignKeyProperties, object? dependentType);
public static string KeyInUse(object keyProperties, object entityType, object foreignKeyProperties, object dependentType);
static member KeyInUse : obj * obj * obj * obj -> string
Public Shared Function KeyInUse (keyProperties As Object, entityType As Object, foreignKeyProperties As Object, dependentType As Object) As String
参数
- keyProperties
- Object
- entityType
- Object
- foreignKeyProperties
- Object
- dependentType
- Object
返回
适用于
KeyInUse(Object, Object, Object)
- Source:
- CoreStrings.Designer.cs
- Source:
- CoreStrings.Designer.cs
无法从实体类型“{entityType}”中删除键 {key},因为它由实体类型“{dependentType}”中的外键引用。 必须先删除或重新定义所有外键,然后才能删除引用的键。
public static string KeyInUse(object key, object entityType, object dependentType);
static member KeyInUse : obj * obj * obj -> string
Public Shared Function KeyInUse (key As Object, entityType As Object, dependentType As Object) As String
参数
- key
- Object
- entityType
- Object
- dependentType
- Object