cete.dynamicpdf.layoutengine.data.datatablereportdata
DataTableReportData
- Namespace: ceTe.DynamicPDF.LayoutEngine.Data
- Assemblies: DynamicPDF.CoreSuite.dll
Represents a record set based off of a data table
public class DataTableReportData : ReportData
Public Class DataTableReportData
Inherits ReportData
Inheritance: Object → DataProvider → ReportData → DataTableReportData
Constructors
DataTableReportData(DataTable)
Initializes a new instance of the DataTableReportData class.
public DataTableReportData(DataTable dataTable)
Public Sub New (dataTable As DataTable)
Parameters
- dataTable: DataTable
The data table for the record set.
DataTableReportData(IDbConnection, DataTable)
Initializes a new instance of the DataTableReportData class.
public DataTableReportData(IDbConnection connection, DataTable dataTable)
Public Sub New (connection As IDbConnection, dataTable As DataTable)
Parameters
- connection: IDbConnection
Database connection used to create the data table.
- dataTable: DataTable
The data table for the record set.
Properties
Connection
Gets the database connection of the DataTableReportData .
public IDbConnection Connection { get; }
Public Property Connection As IDbConnection
Property Value
HasData
Gets a value indicating whether the DataTableReportData contains data.
public bool HasData { get; }
Public Property HasData As Boolean
Property Value
Item[String]
Gets the Object with the given name.
public Object this[string fieldName] { get; }
Public Property Item(fieldName As String) As Object
Property Value
Methods
Equals(Object)
Determines whether the specified Object is equal to the current Object . (Inherited from Object)
public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean
Parameters
- obj: Object
The Object to compare with the current Object .
Returns
true if the specified Object is equal to the current Object ; otherwise, false.
GetHashCode()
Serves as a hash function for a particular type. (Inherited from Object)
public int GetHashCode()
Function GetHashCode() As Integer
Returns
A hash code for the current Object .
GetType()
Gets the Type of the current instance. (Inherited from Object)
public Type GetType()
Function GetType() As Type
Returns
The Type instance that represents the exact runtime type of the current instance.
ToString()
Returns a String that represents the current Object . (Inherited from Object)
public string ToString()
Function ToString() As String
Returns
A String that represents the current Object .