C# Class System.ComponentModel.DataAnnotations.Schema.ForeignKeyAttribute

Inheritance: Attribute
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode Description
ForeignKeyAttribute ( string name ) : System.Globalization

Initializes a new instance of the ForeignKeyAttribute class.

Method Details

ForeignKeyAttribute() public méthode

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. ///
Résultat System.Globalization