C# 클래스 NPoco.PocoDataBuilder

파일 보기 프로젝트 열기: schotime/NPoco 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetColumnInfos NPoco.ColumnInfo[]
GetFastCreate NPoco.FastCreate
GetListType System.Type
GetPocoColumns IEnumerable
GetPocoMembers IEnumerable
InitializedPocoDataBuilder NPoco.PocoData
InitializedPocoDataBuilder NPoco.TableInfo

공개 메소드들

메소드 설명
GetMemberAccessors ( IEnumerable memberInfos ) : List
Init ( ) : InitializedPocoDataBuilder
IsDictionaryType ( Type type ) : bool
IsList ( MemberInfo mi ) : bool
JoinStrings ( string prefix, string end ) : string
PocoDataBuilder ( Type type, MapperCollection mapper ) : System

보호된 메소드들

메소드 설명
CreateAlias ( string typeName, Type typeIn ) : string
GetColumnInfo ( MemberInfo mi, Type type ) : ColumnInfo
GetColumnName ( string prefix, string columnName ) : string
GetTableInfo ( Type type, ColumnInfo columnInfos, List memberInfos ) : TableInfoPlan

비공개 메소드들

메소드 설명
GetColumnInfos ( Type type ) : NPoco.ColumnInfo[]
GetFastCreate ( Type memberType, MapperCollection mapperCollection, bool isList, bool isDynamic ) : NPoco.FastCreate
GetListType ( Type memberType, bool isList ) : Type
GetPocoColumns ( IEnumerable members, bool all ) : IEnumerable
GetPocoMembers ( MapperCollection mapper, ColumnInfo columnInfos, List memberInfos, string prefix = null ) : IEnumerable
InitializedPocoDataBuilder ( ) : NPoco.PocoData
InitializedPocoDataBuilder ( ) : NPoco.TableInfo

메소드 상세

CreateAlias() 보호된 메소드

protected CreateAlias ( string typeName, Type typeIn ) : string
typeName string
typeIn System.Type
리턴 string

GetColumnInfo() 보호된 메소드

protected GetColumnInfo ( MemberInfo mi, Type type ) : ColumnInfo
mi System.Reflection.MemberInfo
type System.Type
리턴 ColumnInfo

GetColumnName() 보호된 메소드

protected GetColumnName ( string prefix, string columnName ) : string
prefix string
columnName string
리턴 string

GetMemberAccessors() 공개 메소드

public GetMemberAccessors ( IEnumerable memberInfos ) : List
memberInfos IEnumerable
리턴 List

GetTableInfo() 보호된 메소드

protected GetTableInfo ( Type type, ColumnInfo columnInfos, List memberInfos ) : TableInfoPlan
type System.Type
columnInfos ColumnInfo
memberInfos List
리턴 TableInfoPlan

Init() 공개 메소드

public Init ( ) : InitializedPocoDataBuilder
리턴 InitializedPocoDataBuilder

IsDictionaryType() 공개 정적인 메소드

public static IsDictionaryType ( Type type ) : bool
type System.Type
리턴 bool

IsList() 공개 정적인 메소드

public static IsList ( MemberInfo mi ) : bool
mi System.Reflection.MemberInfo
리턴 bool

JoinStrings() 공개 정적인 메소드

public static JoinStrings ( string prefix, string end ) : string
prefix string
end string
리턴 string

PocoDataBuilder() 공개 메소드

public PocoDataBuilder ( Type type, MapperCollection mapper ) : System
type System.Type
mapper MapperCollection
리턴 System