Class DataSourceItem
Inheritance
System.Object
DataSourceItem
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.Common.Design.Data
Assembly: ArtOfTest.WebAii.Design.dll
Syntax
public abstract class DataSourceItem
Constructors
DataSourceItem(String)
Declaration
public DataSourceItem(string file)
Parameters
System.String
file
|
Properties
DataSourceName
Declaration
public virtual string DataSourceName { get; }
Property Value
System.String
|
DataType
DirectoryName
Declaration
public string DirectoryName { get; }
Property Value
System.String
|
FileExtension
Declaration
public string FileExtension { get; }
Property Value
System.String
|
FileName
Declaration
public string FileName { get; }
Property Value
System.String
|
FilePath
Declaration
public string FilePath { get; }
Property Value
System.String
|
IsMultiTableSource
Declaration
public abstract bool IsMultiTableSource { get; }
Property Value
System.Boolean
|
Methods
CheckFileType(String)
Declaration
public static TestDataType CheckFileType(string fileName)
Parameters
System.String
fileName
|
Returns
TestDataType
|
GetData(DataInfo, Boolean)
Declaration
public DataTable GetData(DataInfo testBindingInfo, bool isDataSetChanged = true)
Parameters
DataInfo
testBindingInfo
|
System.Boolean
isDataSetChanged
|
Returns
System.Data.DataTable
|
GetDataCount(DataInfo)
Declaration
public abstract long GetDataCount(DataInfo testBindingInfo)
Parameters
DataInfo
testBindingInfo
|
Returns
System.Int64
|
GetDataSource(String)
Declaration
public static DataSourceItem GetDataSource(string filePath)
Parameters
System.String
filePath
|
Returns
DataSourceItem
|
GetDataUnfiltered(DataInfo)
Declaration
protected abstract DataTable GetDataUnfiltered(DataInfo testBindingInfo)
Parameters
DataInfo
testBindingInfo
|
Returns
System.Data.DataTable
|
GetTablesList()
Declaration
public abstract string[] GetTablesList()
Returns
System.String[]
|
UpdateFile(String)
Declaration
public virtual void UpdateFile(string file)
Parameters
System.String
file
|
ValidateFileName(String)
Declaration
public static string ValidateFileName(string suggestedName)
Parameters
System.String
suggestedName
|
Returns
System.String
|