C# 클래스 System.ComponentModel.DataAnnotations.Schema.ForeignKeyAttribute

상속: Attribute
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

공개 메소드들

메소드 설명
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