Specify the name of a data property to be used as primary key.
Namespace: Composite.DataAssembly: Composite (in Composite.dll) Version: 5.3.6135.33083
Syntax
C# |
---|
public KeyPropertyNameAttribute( int compoundKeyIndex, string propertyName ) |
Visual Basic |
---|
Public Sub New ( _ compoundKeyIndex As Integer, _ propertyName As String _ ) |
Visual C++ |
---|
public: KeyPropertyNameAttribute( int compoundKeyIndex, String^ propertyName ) |
Parameters
- compoundKeyIndex
- Type: System..::..Int32
The index of the field in a multi part key.
- propertyName
- Type: System..::..String
Name of data property