UnviredDataHelperGenerateUnviredXmlMessage Method |
Generate Unvired XML data from the given header data structure (containing both headers and items. Get all items from the database).
Header and items are fetched from database.
Namespace:
Unvired.Kernel.UWP.Message
Assembly:
Unvired.Kernel.UWP (in Unvired.Kernel.UWP.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static string GenerateUnviredXmlMessage(
DataStructure dataStructure,
UnviredDataHelperDataTypes dataTypes,
bool bypassAttachment = false
)
Public Shared Function GenerateUnviredXmlMessage (
dataStructure As DataStructure,
dataTypes As UnviredDataHelperDataTypes,
Optional bypassAttachment As Boolean = false
) As String
public:
static String^ GenerateUnviredXmlMessage(
DataStructure^ dataStructure,
UnviredDataHelperDataTypes dataTypes,
bool bypassAttachment = false
)
static member GenerateUnviredXmlMessage :
dataStructure : DataStructure *
dataTypes : UnviredDataHelperDataTypes *
?bypassAttachment : bool
(* Defaults:
let _bypassAttachment = defaultArg bypassAttachment false
*)
-> string
Parameters
- dataStructure
- Type: Unvired.Kernel.UWP.ModelDataStructure
Header data structure whose XML is required. - dataTypes
- Type: Unvired.Kernel.UWP.MessageUnviredDataHelperDataTypes
Which types of DataStructures to be included. - bypassAttachment (Optional)
- Type: SystemBoolean
Include attachment items or not
Return Value
Type:
StringXML of the data structure as a string.
See Also