[This is preliminary documentation and is subject to change.]
Converts ErlCRUD response to CLR CRUD rowset
Namespace: NFX.DataAccess.ErlangAssembly: NFX.Erlang (in NFX.Erlang.dll) Version: 3.0.0.1 (3.0.0.1)
public RowsetBase ErlCRUDResponseToRowset(
string schemaName,
ErlList erlData,
Type tRow = null
)
public RowsetBase ErlCRUDResponseToRowset(
string schemaName,
ErlList erlData,
Type tRow = null
)
Public Function ErlCRUDResponseToRowset (
schemaName As String,
erlData As ErlList,
Optional tRow As Type = Nothing
) As RowsetBase
Public Function ErlCRUDResponseToRowset (
schemaName As String,
erlData As ErlList,
Optional tRow As Type = Nothing
) As RowsetBase
public:
RowsetBase^ ErlCRUDResponseToRowset(
String^ schemaName,
ErlList^ erlData,
Type^ tRow = nullptr
)
public:
RowsetBase^ ErlCRUDResponseToRowset(
String^ schemaName,
ErlList^ erlData,
Type^ tRow = nullptr
)
member ErlCRUDResponseToRowset :
schemaName : string *
erlData : ErlList *
?tRow : Type
(* Defaults:
let _tRow = defaultArg tRow null
*)
-> RowsetBase
member ErlCRUDResponseToRowset :
schemaName : string *
erlData : ErlList *
?tRow : Type
(* Defaults:
let _tRow = defaultArg tRow null
*)
-> RowsetBase
Return Value
Type:
RowsetBase
An Example data packet is field defs as speced in schema:
"tca_jaba": has two field in PK
[
{tca_jaba, {1234, tav}, "User is cool", true},
{tca_jaba, {2344, zap}, "A bird wants to drink", false},
{tca_jaba, {8944, tav}, "Have you seen this?", false}
]
"aaa": has one field in PK - notice no tuple in key
[
{aaa, 1234, tav, "User is cool", true},
{aaa, 2344, zap, "A bird wants to drink", false},
{aaa, 8944, tav, "Have you seen this?", false}
]