[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.BSONAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public virtual Schema InferSchemaFromBSONDocument(
BSONDocument doc,
string schemaName = null
)
public virtual Schema InferSchemaFromBSONDocument(
BSONDocument doc,
string schemaName = null
)
Public Overridable Function InferSchemaFromBSONDocument (
doc As BSONDocument,
Optional schemaName As String = Nothing
) As Schema
Public Overridable Function InferSchemaFromBSONDocument (
doc As BSONDocument,
Optional schemaName As String = Nothing
) As Schema
public:
virtual Schema^ InferSchemaFromBSONDocument(
BSONDocument^ doc,
String^ schemaName = nullptr
)
public:
virtual Schema^ InferSchemaFromBSONDocument(
BSONDocument^ doc,
String^ schemaName = nullptr
)
abstract InferSchemaFromBSONDocument :
doc : BSONDocument *
?schemaName : string
(* Defaults:
let _schemaName = defaultArg schemaName null
*)
-> Schema
override InferSchemaFromBSONDocument :
doc : BSONDocument *
?schemaName : string
(* Defaults:
let _schemaName = defaultArg schemaName null
*)
-> Schema
abstract InferSchemaFromBSONDocument :
doc : BSONDocument *
?schemaName : string
(* Defaults:
let _schemaName = defaultArg schemaName null
*)
-> Schema
override InferSchemaFromBSONDocument :
doc : BSONDocument *
?schemaName : string
(* Defaults:
let _schemaName = defaultArg schemaName null
*)
-> Schema
Return Value
Type:
Schema