ErlSchemaUtils Update Method NFX Class Library

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

Convert an Erlang hierarchical term representing a schema to a Row.

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

public static void Update(
	this Row row,
	IErlObject data,
	Schema schema = null,
	string targetName = null,
	string schemaName = null,
	Registry<Schema> knownSchemas = null
)

Parameters

row
Type: NFX.DataAccess.CRUD Row
Row to update
data
Type: NFX.Erlang IErlObject
Data to update row with. The data must be in the form {SchemaName::atom, [{FieldName::atom(), Value}]}.
schema (Optional)
Type: NFX.DataAccess.CRUD Schema
Alternative schema to use in place of row.Schema
targetName (Optional)
Type: OnlineSystem String
Name of the target for looking up field attributes
schemaName (Optional)
Type: OnlineSystem String
Alternative name of the top-most 'SchemaName' atom used in the "data".
knownSchemas (Optional)
Type: NFX Registry Schema 
List of known schemas to use when initializing a field a DynamicRow type.

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