C# Class JPB.DataAccess.ModelsAnotations.ForeignKeyDeclarationAttribute

Inheritance: DataAccessAttribute
Exibir arquivo Open project: JPVenson/DataAccess

Public Methods

Method Description
ForeignKeyDeclarationAttribute ( string foreignKey, Type foreignTable ) : System

Declares a new Foreign key constraint

ForeignKeyDeclarationAttribute ( string foreignKey, string foreignTable ) : System

Declares a new Foreign key constraint

Method Details

ForeignKeyDeclarationAttribute() public method

Declares a new Foreign key constraint
public ForeignKeyDeclarationAttribute ( string foreignKey, Type foreignTable ) : System
foreignKey string
foreignTable System.Type
return System

ForeignKeyDeclarationAttribute() public method

Declares a new Foreign key constraint
public ForeignKeyDeclarationAttribute ( string foreignKey, string foreignTable ) : System
foreignKey string
foreignTable string
return System