C# Class IQ.Data.ImplicitMapping

A simple query mapping that attempts to infer mapping from naming conventionss
Inheritance: QueryMapping
Afficher le fichier Open project: maravillas/linq-to-delicious

Méthodes publiques

Méthode Description
GetAssociationKeys ( MemberInfo member, List &members1, List &members2 ) : void
GetColumnName ( MemberInfo member ) : string
GetRelatedType ( MemberInfo member ) : Type
GetTableName ( Type rowType ) : string
ImplicitMapping ( QueryLanguage language ) : System
IsColumn ( MemberInfo member ) : bool
IsEntity ( Type type ) : bool
IsIdentity ( MemberInfo member ) : bool
IsMapped ( MemberInfo member ) : bool
IsRelationship ( MemberInfo member ) : bool
Plural ( string name ) : string
Singular ( string name ) : string
SplitWords ( string name ) : string

Private Methods

Méthode Description
NameWithoutTrailingDigits ( string name ) : string

Method Details

GetAssociationKeys() public méthode

public GetAssociationKeys ( MemberInfo member, List &members1, List &members2 ) : void
member System.Reflection.MemberInfo
members1 List
members2 List
Résultat void

GetColumnName() public méthode

public GetColumnName ( MemberInfo member ) : string
member System.Reflection.MemberInfo
Résultat string

GetRelatedType() public méthode

public GetRelatedType ( MemberInfo member ) : Type
member System.Reflection.MemberInfo
Résultat System.Type

GetTableName() public méthode

public GetTableName ( Type rowType ) : string
rowType System.Type
Résultat string

ImplicitMapping() public méthode

public ImplicitMapping ( QueryLanguage language ) : System
language QueryLanguage
Résultat System

IsColumn() public méthode

public IsColumn ( MemberInfo member ) : bool
member System.Reflection.MemberInfo
Résultat bool

IsEntity() public méthode

public IsEntity ( Type type ) : bool
type System.Type
Résultat bool

IsIdentity() public méthode

public IsIdentity ( MemberInfo member ) : bool
member System.Reflection.MemberInfo
Résultat bool

IsMapped() public méthode

public IsMapped ( MemberInfo member ) : bool
member System.Reflection.MemberInfo
Résultat bool

IsRelationship() public méthode

public IsRelationship ( MemberInfo member ) : bool
member System.Reflection.MemberInfo
Résultat bool

Plural() public static méthode

public static Plural ( string name ) : string
name string
Résultat string

Singular() public static méthode

public static Singular ( string name ) : string
name string
Résultat string

SplitWords() public static méthode

public static SplitWords ( string name ) : string
name string
Résultat string