Initializes a new instance of the PrimaryKeyAttribute class.

Namespace: Castle.ActiveRecord
Assembly:  Castle.ActiveRecord (in Castle.ActiveRecord.dll)
Version: 1.0.3.0

Syntax

C#
public PrimaryKeyAttribute(
	PrimaryKeyType generator,
	string column
)

Parameters

generator
PrimaryKeyType
The generator.
column
String
The PK column.

See Also