C# Class NContrib4.DynamicDataRecord

Inheritance: System.Dynamic.DynamicObject
Afficher le fichier Open project: veracross/ncontrib

Méthodes publiques

Méthode 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

Méthodes protégées

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

Method Details

DynamicDataRecord() public méthode

public DynamicDataRecord ( IDataRecord dr, bool convertDbNull ) : System.Collections.Generic
dr IDataRecord
convertDbNull bool
Résultat System.Collections.Generic

Get() public méthode

public Get ( string fieldName ) : object
fieldName string
Résultat object

GetDynamicMemberNames() public méthode

public GetDynamicMemberNames ( ) : IEnumerable
Résultat IEnumerable

GetFieldNames() public méthode

public GetFieldNames ( ) : string[]
Résultat string[]

GetRecord() protected static méthode

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

ToExpandoObject() public méthode

public ToExpandoObject ( ) : dynamic
Résultat dynamic

ToPropertyName() protected static méthode

protected static ToPropertyName ( string name ) : string
name string
Résultat string

TryGetMember() public méthode

public TryGetMember ( GetMemberBinder binder, object &result ) : bool
binder System.Dynamic.GetMemberBinder
result object
Résultat bool

TrySetMember() public méthode

public TrySetMember ( SetMemberBinder binder, object value ) : bool
binder System.Dynamic.SetMemberBinder
value object
Résultat bool