ErlSchemaUtils ToErlObject Method NFX Class Library

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

Convert Row to a hierarchical term that corresponds to the row's schema. The Erlang term is in the form:
{SchemaName::atom(), [{FieldName::atom(), Value}]}.

Namespace: NFX.Erlang.DataAccess
Assembly: NFX.Erlang (in NFX.Erlang.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public static IErlObject ToErlObject(
	this Row row,
	string targetName = null,
	string schemaName = null,
	bool outputDefVals = true
)

Parameters

row
Type: NFX.DataAccess.CRUD Row
Row to convert to Erlang object
targetName (Optional)
Type: OnlineSystem String
Target to use to lookup field attributes in the row
schemaName (Optional)
Type: OnlineSystem String
Alternative schema name to use for the outermost name of the schema in the output.
outputDefVals (Optional)
Type: OnlineSystem Boolean
When false no field values are included in output if they are equal to default values

Return Value

Type: IErlObject

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Row. When you use instance method syntax to call this method, omit the first parameter. For more information, see OnlineExtension Methods (Visual Basic) or OnlineExtension Methods (C# Programming Guide).
See Also