RowConverter InferSchemaFromBSONDocument Method NFX Class Library

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

Makes CRUD Schema out of BSON document. The types of all fields are object as documents do not have a predictable type of every field (they are dynamic and can change form doc to doc)

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

public virtual Schema InferSchemaFromBSONDocument(
	BSONDocument doc,
	string schemaName = null
)

Return Value

Type: Schema
See Also