Registers a column binding for the type specified.

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public bool RegisterColumnBinding(
	Type type,
	IColumnBinding columnBinding
)
Public Function RegisterColumnBinding ( _
	type As Type, _
	columnBinding As IColumnBinding _
) As Boolean
public:
bool RegisterColumnBinding(
	Type^ type, 
	IColumnBinding^ columnBinding
)

Parameters

type
Type
The entity type.
columnBinding
IColumnBinding
The column binding.

Return Value

true if the column binding has been added, false if an existing column binding has been replaced.

Exceptions

ExceptionCondition
System..::..ArgumentNullException If type is null.
System..::..ArgumentNullException If columnBinding is null.

See Also