Table of Contents

Class FormSubmittedDataObject

Namespace: Casewhere.Runtime.DSL.Api
Assembly: Casewhere.Runtime.dll

Form submitted data object for simulating.

public class FormSubmittedDataObject

Inheritance

objectFormSubmittedDataObject

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Extension Methods

ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<FormSubmittedDataObject>(FormSubmittedDataObject)

Constructors

FormSubmittedDataObject()

public FormSubmittedDataObject()

Properties

Data

Simulating data object.

public DynamicDataObject Data { get; set; }

Property Value

DynamicDataObject

EncryptedPaths

Paths for protected data.

public IList<string> EncryptedPaths { get; set; }

Property Value

IList<string>

Id

Simulating data object Id.

public string Id { get; set; }

Property Value

string

Name

Data class name.

public string Name { get; set; }

Property Value

string

Methods

Create(string, object)

Use this method to construct Data Source Object for insert

public static FormSubmittedDataObject Create(string name, object data)

Parameters

name string

Name of the Workflow Data Source

data object

Submitted data

Returns

FormSubmittedDataObject

Form submitted data object.

Create(string, object, IList<string>)

Use this method to construct Data Source Object for insert

public static FormSubmittedDataObject Create(string name, object data, IList<string> encryptedPaths)

Parameters

name string

Name of the Workflow Data Source

data object

Submitted data

encryptedPaths IList<string>

For form data encryption

Returns

FormSubmittedDataObject

Form submitted data object.

Create(string, string, object)

Use this method to construct Data Source Object for update

public static FormSubmittedDataObject Create(string name, string id, object data)

Parameters

name string

Name of the Workflow Data Source

id string

Id of the editing data object

data object

Submitted data

Returns

FormSubmittedDataObject

Form submitted data object.

Create(string, string, object, IList<string>)

Use this method to construct Data Source Object for update

public static FormSubmittedDataObject Create(string name, string id, object data, IList<string> encryptedPaths)

Parameters

name string

Name of the Workflow Data Source

id string

Id of the editing data object

data object

Submitted data

encryptedPaths IList<string>

For form data encryption

Returns

FormSubmittedDataObject

Form submitted data object.