C# Класс System.ComponentModel.DataAnnotations.Schema.ForeignKeyAttribute

Наследование: Attribute
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ForeignKeyAttribute ( string name ) : System.Globalization

Initializes a new instance of the ForeignKeyAttribute class.

Описание методов

ForeignKeyAttribute() публичный Метод

Initializes a new instance of the ForeignKeyAttribute class.
public ForeignKeyAttribute ( string name ) : System.Globalization
name string /// If placed on a foreign key property, the name of the associated navigation property. /// If placed on a navigation property, the name of the associated foreign key(s). /// If a navigation property has multiple foreign keys, a comma separated list should be supplied. ///
Результат System.Globalization