Initializes a new instance of the KeyBinding<(Of <(<'T>)>)> class.

Namespace: Hypertable.Persistence.Bindings
Assembly: ht4o (in ht4o.dll) Version: 0.9.8.11 (0.9.8.11)

Syntax

         
 C#  Visual Basic  Visual C++ 
public KeyBinding(
	Expression<Func<T, string>> propertyLambda,
	IColumnBinding columnBinding,
	bool generateKey
)
Public Sub New ( _
	propertyLambda As Expression(Of Func(Of T, String)), _
	columnBinding As IColumnBinding, _
	generateKey As Boolean _
)
public:
KeyBinding(
	Expression<Func<T, String^>^>^ propertyLambda, 
	IColumnBinding^ columnBinding, 
	bool generateKey
)

Parameters

propertyLambda
Expression<(Of <(<'Func<(Of <(<'T, String>)>)>>)>)>
The property lambda.
columnBinding
IColumnBinding
The column binding.
generateKey
Boolean
Indicating whether this key binding should generate new keys or not.

See Also