C# Class Noear.Weed.DbReader

可以返回Null而不发出异常的DataReader
Inheritance: IDisposable
Mostra file Open project: noear/Weed3 Class Usage Examples

Private Properties

Property Type Description
_InnerReadMetaData void

Public Methods

Method Description
Close ( ) : void
DbReader ( IDataReader reader ) : System
Dispose ( ) : void
GetName ( int index ) : string
IndexOf ( string name ) : int
Read ( ) : bool
this ( int i ) : object
this ( string name ) : object

如果不存在,则返回Null

Private Methods

Method Description
_InnerReadMetaData ( ) : void

Method Details

Close() public method

public Close ( ) : void
return void

DbReader() public method

public DbReader ( IDataReader reader ) : System
reader IDataReader
return System

Dispose() public method

public Dispose ( ) : void
return void

GetName() public method

public GetName ( int index ) : string
index int
return string

IndexOf() public method

public IndexOf ( string name ) : int
name string
return int

Read() public method

public Read ( ) : bool
return bool

this() public method

public this ( int i ) : object
i int
return object

this() public method

如果不存在,则返回Null
public this ( string name ) : object
name string
return object