C# Class MapAround.IO.DbaseReader

Reads dBase-files.
Inheritance: IDisposable
显示文件 Open project: gkrsu/maparound.core Class Usage Examples

Private Properties

Property Type Description
GetRow System.Data.DataRow
GetValue object
readDbfValue object
сreateBaseTable void

Public Methods

Method Description
Close ( ) : void

Closes a dBase file.

DbaseReader ( string filename ) : System
Dispose ( ) : void
GetSchemaTable ( ) : DataTable

Generates a System.Data.DataTable instance containing the schema of dBase file.

Open ( ) : void

Opens a dBase file for reading.

Private Methods

Method Description
GetRow ( uint oid, DataTable table ) : DataRow

Gets a dBase row.

GetValue ( uint oid, int colid ) : object
readDbfValue ( DbaseFieldDescriptor dbf ) : object
сreateBaseTable ( ) : void

Method Details

Close() public method

Closes a dBase file.
public Close ( ) : void
return void

DbaseReader() public method

public DbaseReader ( string filename ) : System
filename string
return System

Dispose() public method

public Dispose ( ) : void
return void

GetSchemaTable() public method

Generates a System.Data.DataTable instance containing the schema of dBase file.
public GetSchemaTable ( ) : DataTable
return System.Data.DataTable

Open() public method

Opens a dBase file for reading.
public Open ( ) : void
return void