Click or drag to resize
Context Class

Note: This API is now obsolete.

This class defines the WorkflowGen context. You can create a new one or use one from a DataSet or XML RecordSet Context. Various methods could be used to set or get parameters, also somme static methods are useful to convert a WorkflowGen Context.
Inheritance Hierarchy
SystemObject
  WorkflowGen.My.DataContext

Namespace: WorkflowGen.My.Data
Assembly: WorkflowGen.My (in WorkflowGen.My.dll) Version: 2.4.0.0 (2.4.0.0)
Syntax
[ObsoleteAttribute("Use the ContextParameters class instead.")]
public class Context : IDisposable

The Context type exposes the following members.

Constructors
  NameDescription
Public methodContext
Initialize to a blank context
Public methodContext(DataSet)
Initialize with a DataSet
Public methodContext(String)
Initialize with a XML RecordSet
Top
Methods
  NameDescription
Public methodStatic memberConvertDataSetToRecordSet
Converts a DataSet to a XML RecordSet
Public methodStatic memberConvertRecordSetToDataSet
Converts a WorkflowGen Context XML RecordSet to a DataSet
Public methodDispose
Frees resources and perform other operations before the Object is reclaimed by garbage collection.
Public methodGetDataSet
Returns the current DataSet
Public methodStatic memberGetEmptyDataSet
Creates an empty WorkflowGen DataSet Context
Public methodGetFileNameParameter
Returns the file name value of a file parameter
Public methodGetFileParameters
Returns all the file parameters in a Hashtable
Public methodGetFileParameters(String)
Returns a list of file parameters filtred in a Hashtable
Public methodGetParameter
Returns the value of a parameter
Public methodGetParameters
Returns all the parameters in a Hashtable
Public methodGetParameters(String)
Returns a list of parameters filtred in a Hashtable
Public methodGetXmlRecordSet
Returns the current DataSet as a XML RecordSet
Public methodSetParameter(String, DateTime)
Defines a DateTime parameter
Public methodSetParameter(String, Double)
Defines a numeric parameter
Public methodSetParameter(String, FileInfo)
Defines a File parameter
Public methodSetParameter(String, String)
Defines a text parameter
Top
See Also