共用方式為


RelationalForeignKeyAnnotations.GetDefaultForeignKeyName 方法

定義

public static string GetDefaultForeignKeyName (string dependentTableName, string principalTableName, System.Collections.Generic.IEnumerable<string> dependentEndPropertyNames);
static member GetDefaultForeignKeyName : string * string * seq<string> -> string
Public Shared Function GetDefaultForeignKeyName (dependentTableName As String, principalTableName As String, dependentEndPropertyNames As IEnumerable(Of String)) As String

參數

dependentTableName
String
principalTableName
String
dependentEndPropertyNames
IEnumerable<String>

傳回

適用於