C# Class NContrib4.DynamicDataRecord

Inheritance: System.Dynamic.DynamicObject
ファイルを表示 Open project: veracross/ncontrib

Public Methods

Method Description
DynamicDataRecord ( IDataRecord dr, bool convertDbNull ) : System.Collections.Generic
Get ( string fieldName ) : object
GetDynamicMemberNames ( ) : IEnumerable
GetFieldNames ( ) : string[]
ToExpandoObject ( ) : dynamic
TryGetMember ( GetMemberBinder binder, object &result ) : bool
TrySetMember ( SetMemberBinder binder, object value ) : bool

Protected Methods

Method Description
GetRecord ( int i, IDataRecord dr, bool convertDbNull ) : object>.KeyValuePair
ToPropertyName ( string name ) : string

Method Details

DynamicDataRecord() public method

public DynamicDataRecord ( IDataRecord dr, bool convertDbNull ) : System.Collections.Generic
dr IDataRecord
convertDbNull bool
return System.Collections.Generic

Get() public method

public Get ( string fieldName ) : object
fieldName string
return object

GetDynamicMemberNames() public method

public GetDynamicMemberNames ( ) : IEnumerable
return IEnumerable

GetFieldNames() public method

public GetFieldNames ( ) : string[]
return string[]

GetRecord() protected static method

protected static GetRecord ( int i, IDataRecord dr, bool convertDbNull ) : object>.KeyValuePair
i int
dr IDataRecord
convertDbNull bool
return object>.KeyValuePair

ToExpandoObject() public method

public ToExpandoObject ( ) : dynamic
return dynamic

ToPropertyName() protected static method

protected static ToPropertyName ( string name ) : string
name string
return string

TryGetMember() public method

public TryGetMember ( GetMemberBinder binder, object &result ) : bool
binder System.Dynamic.GetMemberBinder
result object
return bool

TrySetMember() public method

public TrySetMember ( SetMemberBinder binder, object value ) : bool
binder System.Dynamic.SetMemberBinder
value object
return bool