RowConverter ConvertCLRtoBSON Method NFX Class Library

[This is preliminary documentation and is subject to change.]

Converts CLR value to BSON. The following values are supported: primitives+scaled decimal, enums, TypedRows, GDID, Guid, Amount, IDictionary, IEnumerable (including arrays). If conversion could not be made then exception is thrown

Namespace: NFX.Serialization.BSON
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public BSONElement ConvertCLRtoBSON(
	string fieldName,
	Object data,
	string targetName
)

Return Value

Type: BSONElement
See Also