Click or drag to resize

UnviredDataHelperGenerateUnviredJsonMessage Method

Generate Unvired Json 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)
Syntax
public static string GenerateUnviredJsonMessage(
	DataStructure dataStructure,
	UnviredDataHelperDataTypes dataTypes,
	bool bypassAttachment = false
)

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: String
JSON of the data structure as a string.
See Also