RelationalForeignKeyExtensions.GetDefaultName 方法

定义

重载

GetDefaultName(IForeignKey)

返回将用于此外键的默认约束名称。

GetDefaultName(IReadOnlyForeignKey)

返回将用于此外键的默认约束名称。

GetDefaultName(IForeignKey, StoreObjectIdentifier, StoreObjectIdentifier)

返回将用于此外键的默认约束名称。

GetDefaultName(IReadOnlyForeignKey, StoreObjectIdentifier, StoreObjectIdentifier)

返回将用于此外键的默认约束名称。

GetDefaultName(IForeignKey)

Source:
RelationalForeignKeyExtensions.cs
Source:
RelationalForeignKeyExtensions.cs
Source:
RelationalForeignKeyExtensions.cs

返回将用于此外键的默认约束名称。

public static string GetDefaultName (this Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey);
static member GetDefaultName : Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> string
<Extension()>
Public Function GetDefaultName (foreignKey As IForeignKey) As String

参数

foreignKey
IForeignKey

外键。

返回

将用于此外键的默认约束名称。

适用于

GetDefaultName(IReadOnlyForeignKey)

Source:
RelationalForeignKeyExtensions.cs
Source:
RelationalForeignKeyExtensions.cs
Source:
RelationalForeignKeyExtensions.cs
Source:
RelationalForeignKeyExtensions.cs

返回将用于此外键的默认约束名称。

public static string GetDefaultName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey foreignKey);
public static string? GetDefaultName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey foreignKey);
static member GetDefaultName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey -> string
<Extension()>
Public Function GetDefaultName (foreignKey As IReadOnlyForeignKey) As String

参数

foreignKey
IReadOnlyForeignKey

外键。

返回

将用于此外键的默认约束名称。

适用于

GetDefaultName(IForeignKey, StoreObjectIdentifier, StoreObjectIdentifier)

Source:
RelationalForeignKeyExtensions.cs

返回将用于此外键的默认约束名称。

public static string GetDefaultName (this Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier principalStoreObject);
static member GetDefaultName : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * StoreObjectIdentifier * StoreObjectIdentifier -> string
<Extension()>
Public Function GetDefaultName (foreignKey As IForeignKey, ByRef storeObject As StoreObjectIdentifier, ByRef principalStoreObject As StoreObjectIdentifier) As String

参数

foreignKey
IForeignKey

外键。

storeObject
StoreObjectIdentifier

包含存储对象的标识符。

principalStoreObject
StoreObjectIdentifier

主体存储对象的标识符。

返回

将用于此外键的默认约束名称。

适用于

GetDefaultName(IReadOnlyForeignKey, StoreObjectIdentifier, StoreObjectIdentifier)

Source:
RelationalForeignKeyExtensions.cs
Source:
RelationalForeignKeyExtensions.cs
Source:
RelationalForeignKeyExtensions.cs
Source:
RelationalForeignKeyExtensions.cs

返回将用于此外键的默认约束名称。

public static string? GetDefaultName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey foreignKey, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier principalStoreObject);
static member GetDefaultName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey * StoreObjectIdentifier * StoreObjectIdentifier -> string
<Extension()>
Public Function GetDefaultName (foreignKey As IReadOnlyForeignKey, ByRef storeObject As StoreObjectIdentifier, ByRef principalStoreObject As StoreObjectIdentifier) As String

参数

foreignKey
IReadOnlyForeignKey

外键。

storeObject
StoreObjectIdentifier

包含存储对象的标识符。

principalStoreObject
StoreObjectIdentifier

主体存储对象的标识符。

返回

将用于此外键的默认约束名称。

适用于