ClassDataInfo
Information pertaining to the data source to use for datadriven tests.
Definition
Namespace:ArtOfTest.Common.Design.Data
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
[DataContract(Namespace = "http://artoftest.com/schemas/WebAiiDesignCanvas/1.0.0")]
public class DataInfo : IExtensibleDataObject, INotifyPropertyChanged
Inheritance: objectDataInfo
Implements:
Constructors
DataInfo(DataInfo)
A deep cloning method.
Declaration
public DataInfo(DataInfo info)
Parameters
info
The info object to clone.
DataInfo(string, string, string, TestDataType)
Create a new data info
Declaration
public DataInfo(string connectionString, string dataTable, string dataProvider, TestDataType dataType)
Parameters
connectionString
connection string.
dataTable
data table
dataProvider
name of the provider
dataType
Properties
BuiltInDocument
Gets or sets the built in document table
Declaration
[DataMember(Name = "BuiltInData")]
public CustomizableDataTable BuiltInDocument { get; set; }
Property Value
BuiltInDocumentKey
Gets or sets the built in document key
Declaration
[DataMember(Name = "BuiltInDocumentKey")]
public string BuiltInDocumentKey { get; set; }
Property Value
ConnectionString
Gets or sets the connection string.
Declaration
[DataMember(Name = "ConnectionString", IsRequired = false, EmitDefaultValue = false)]
[Browsable(false)]
public string ConnectionString { get; set; }
Property Value
Remarks
Depricated. The Connection String now comes from the dbsrc file
DataEnabled
Gets or sets whether the data is enabled
Declaration
[DataMember(Name = "DataEnabled")]
public bool DataEnabled { get; set; }
Property Value
DataProvider
Gets or sets the data provider name.
Declaration
[DataMember(Name = "DataProvider")]
public string DataProvider { get; set; }
Property Value
DataRangeString
Gets or sets the data range string.
Declaration
[DataMember(Name = "DataRange")]
public string DataRangeString { get; set; }
Property Value
DataTable
Gets or sets the data table name.
Declaration
[DataMember(Name = "DataTableName")]
public string DataTable { get; set; }
Property Value
DataType
Gets or set the data type
Declaration
[DataMember(Name = "DataType")]
public TestDataType DataType { get; set; }
Property Value
DefaultToGrid
Gets or sets whether to default the data source to the built-in grid if available.
Declaration
[DataMember(Name = "DefaultToGrid")]
public bool DefaultToGrid { get; set; }
Property Value
ExtensionData
Declaration
public ExtensionDataObject ExtensionData { get; set; }
Property Value
Implements
HasBuiltInGrid
Declaration
[DataMember(Name = "HasBuiltinGrid")]
public bool HasBuiltInGrid { get; set; }
Property Value
LoadRecordsCount
Gets or sets the number of the records that should be load.
Declaration
[DataMember(Name = "LoadRecordsCount")]
public int? LoadRecordsCount { get; set; }
Property Value
int?
Methods
Clear()
Declaration
public void Clear()
DetectVSBindingDataType2()
Set the data type of the provider.
Declaration
public void DetectVSBindingDataType2()
GenerateXMLDocument()
Write the built-in document to a string.
UpdateDataType()
Declaration
public void UpdateDataType()
UpgradeData(string)
Upgrade the Data Info object.
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements