C# Class Pilgrim.Providers.ColumnPropertiesMapper

This is basically a just a helper base class per-database implementors may want to override ColumnSql
Afficher le fichier Open project: juanplopes/pilgrim

Protected Properties

Свойство Type Description
columnSql string
defaultVal object
dialect Dialect
indexed bool
name string
type string

Méthodes publiques

Méthode Description
ColumnPropertiesMapper ( Dialect dialect, string type ) : System
MapColumnProperties ( Column column ) : void
PropertySelected ( ColumnProperty source, ColumnProperty comparison ) : bool

Private Methods

Méthode Description
AddValueIfSelected ( Column column, ColumnProperty property, ICollection vals ) : void

Method Details

ColumnPropertiesMapper() public méthode

public ColumnPropertiesMapper ( Dialect dialect, string type ) : System
dialect Dialect
type string
Résultat System

MapColumnProperties() public méthode

public MapColumnProperties ( Column column ) : void
column Column
Résultat void

PropertySelected() public static méthode

public static PropertySelected ( ColumnProperty source, ColumnProperty comparison ) : bool
source ColumnProperty
comparison ColumnProperty
Résultat bool

Property Details

columnSql protected_oe property

the type of the column
protected string columnSql
Résultat string

defaultVal protected_oe property

Sql if this column has a default value
protected object defaultVal
Résultat object

dialect protected_oe property

protected Dialect,Pilgrim.Providers dialect
Résultat Dialect

indexed protected_oe property

Sql if This column is Indexed
protected bool indexed
Résultat bool

name protected_oe property

The name of the column
protected string name
Résultat string

type protected_oe property

The SQL type
protected string type
Résultat string