C# Class Example.Project.Tools.Conventions

Inheritance: ITableConventions
Afficher le fichier Open project: juanplopes/simple

Méthodes publiques

Méthode Description
ConcreteTypeFor ( DbOneToMany fk ) : string
Conventions ( ) : System
Conventions ( IPluralizer pluralizer ) : System
NameFor ( DbColumn column ) : string
NameFor ( DbManyToOne fk ) : string
NameFor ( DbOneToMany fk ) : string
NameFor ( DbTableName table ) : string
Pluralize ( string entity ) : string
TypeFor ( DbColumn column ) : string
TypeFor ( DbManyToOne fk ) : string
TypeFor ( DbOneToMany fk ) : string

Method Details

ConcreteTypeFor() public méthode

public ConcreteTypeFor ( DbOneToMany fk ) : string
fk Simple.Metadata.DbOneToMany
Résultat string

Conventions() public méthode

public Conventions ( ) : System
Résultat System

Conventions() public méthode

public Conventions ( IPluralizer pluralizer ) : System
pluralizer IPluralizer
Résultat System

NameFor() public méthode

public NameFor ( DbColumn column ) : string
column Simple.Metadata.DbColumn
Résultat string

NameFor() public méthode

public NameFor ( DbManyToOne fk ) : string
fk Simple.Metadata.DbManyToOne
Résultat string

NameFor() public méthode

public NameFor ( DbOneToMany fk ) : string
fk Simple.Metadata.DbOneToMany
Résultat string

NameFor() public méthode

public NameFor ( DbTableName table ) : string
table Simple.Metadata.DbTableName
Résultat string

Pluralize() public méthode

public Pluralize ( string entity ) : string
entity string
Résultat string

TypeFor() public méthode

public TypeFor ( DbColumn column ) : string
column Simple.Metadata.DbColumn
Résultat string

TypeFor() public méthode

public TypeFor ( DbManyToOne fk ) : string
fk Simple.Metadata.DbManyToOne
Résultat string

TypeFor() public méthode

public TypeFor ( DbOneToMany fk ) : string
fk Simple.Metadata.DbOneToMany
Résultat string