次の方法で共有


PrimaryKeyAttribute(String, String[]) コンストラクター

定義

PrimaryKeyAttribute クラスの新しいインスタンスを初期化します。

public PrimaryKeyAttribute (string propertyName, params string[] additionalPropertyNames);
new Microsoft.EntityFrameworkCore.PrimaryKeyAttribute : string * string[] -> Microsoft.EntityFrameworkCore.PrimaryKeyAttribute
Public Sub New (propertyName As String, ParamArray additionalPropertyNames As String())

パラメーター

propertyName
String

主キーの最初の (または唯一の) プロパティ。

additionalPropertyNames
String[]

主キーを構成する追加のプロパティ (存在する場合)。

適用対象