Click or drag to resize

DataStorage Class

Data Storage is to persist test or intermediate data. For example, Excel, CSV or SQL Database
Inheritance Hierarchy

Namespace:  Hummingbird.TestFramework.Automation
Assembly:  Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax
[DataContractAttribute(Namespace = "http://www.hummingbird-alm.com/testframework/201610")]
public abstract class DataStorage : IDisposable, 
	INotifyPropertyChanged

The DataStorage type exposes the following members.

Constructors
  NameDescription
Protected methodDataStorage
Initializes a new instance of the DataStorage class.
Top
Properties
  NameDescription
Public propertyDataTable
Gets the produced DataTable from the received data to store.
Public propertyHasHeader
Gets or sets if the headers should be written to the data storage if supported
Protected propertyHeaders
Gets or sets the headers.
Public propertyInformation
Gets or sets the information generated by execution the data storage.
Public propertyOverwrite
Gets or sets a value indicating whether the data should be overwritten
Public propertySortHeaders
Gets or sets a value indicating whether headers should be sorted alphabetically to the data storage.
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnPropertyChanged
Called when property value has changed.
Public methodProcessData
Processes the received data and produce a DataTable
Public methodReceiveData
Receives a collection of data from data sender, such as DataDrivenTestCase. Data will be considered as
Public methodSave
This method should be implemented by sub classes by storing data to adapted place: Excel, CSV or SQL Database.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventPropertyChanged
Occurs when a property value changes.
Top
Fields
  NameDescription
Protected fieldData
The data to be written to the data storage
Top
Extension Methods
  NameDescription
Public Extension MethodToStringOrXml
Converts any Object to string representation in String or XML format.
(Defined by ExtensionMethods.)
Public Extension MethodToXmlString
Converts any Object to string representation in XML format.
(Defined by ExtensionMethods.)
Top
See Also