Used to read a file as a DataTable without instanciate the engine. This is feature limited method try to use the non static methods.
[Visual Basic] Overloads Public Shared Function ReadFileAsDT( _ ByVal recordClass As Type, _ ByVal fileName As String, _ ByVal maxRecords As Integer _ ) As DataTable
[C#] public static DataTable ReadFileAsDT( TyperecordClass, stringfileName, intmaxRecords );
Parameters
recordClass
The record class.
fileName
The file name
maxRecords
The max number of records to read. Int32.MaxValue or -1 to read all records.