cete.dynamicpdf.reportwriter.data.enumerablerecordset
EnumerableRecordSet
- Namespace: ceTe.DynamicPDF.ReportWriter.Data
- Assemblies: ceTe.DynamicPDF.40.dll
Represents a record set based on a list of objects.
public class EnumerableRecordSet : RecordSet
Public Class EnumerableRecordSet
Inherits RecordSet
Inheritance: Object → RecordSet → EnumerableRecordSet
Constructors
EnumerableRecordSet(IEnumerable)
Initializes a new instance of the EnumerableRecordSet class.
public EnumerableRecordSet(IEnumerable enumerable)
Public Sub New (enumerable As IEnumerable)
Parameters
- enumerable: IEnumerable
A list of objects that implements the IEnumerable interface.
Properties
HasData
Gets a value indicating whether the RecordSet contains data.
public bool HasData { get; }
Public Property HasData As Boolean
Property Value
Id
Gets the ID for the query. (Inherited from RecordSet)
public string Id { get; }
Public Property Id As String
Property Value
Item[Int32]
Gets the Object with the given field number.
public Object this[int fieldIndex] { get; }
Public Property Item(fieldIndex As Integer) As Object
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
Query
Gets the Query for the RecordSet . (Inherited from RecordSet)
public Query Query { get; }
Public Property Query As Query
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 .