C# 클래스 Massive.ObjectExtensions

파일 보기 프로젝트 열기: johnmbaughman/SQLiteConverter

공개 메소드들

메소드 설명
AddParam ( this cmd, object item ) : void

Extension for adding single parameter

AddParams ( this cmd ) : void

Extension method for adding in a bunch of parameters

RecordToExpando ( this rdr ) : dynamic
ToDictionary ( this thingy ) : object>.IDictionary

Turns the object into a Dictionary

ToExpando ( this o ) : dynamic

Turns the object into an ExpandoObject

ToExpandoList ( this rdr ) : List

Turns an IDataReader to a Dynamic list of things

메소드 상세

AddParam() 공개 정적인 메소드

Extension for adding single parameter
public static AddParam ( this cmd, object item ) : void
cmd this
item object
리턴 void

AddParams() 공개 정적인 메소드

Extension method for adding in a bunch of parameters
public static AddParams ( this cmd ) : void
cmd this
리턴 void

RecordToExpando() 공개 정적인 메소드

public static RecordToExpando ( this rdr ) : dynamic
rdr this
리턴 dynamic

ToDictionary() 공개 정적인 메소드

Turns the object into a Dictionary
public static ToDictionary ( this thingy ) : object>.IDictionary
thingy this
리턴 object>.IDictionary

ToExpando() 공개 정적인 메소드

Turns the object into an ExpandoObject
public static ToExpando ( this o ) : dynamic
o this
리턴 dynamic

ToExpandoList() 공개 정적인 메소드

Turns an IDataReader to a Dynamic list of things
public static ToExpandoList ( this rdr ) : List
rdr this
리턴 List