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(
	Type customGenerator
)

Parameters

customGenerator
Type
A custom identifier generator (that implements IIdentifierGenerator).

See Also