C# Class Dashing.Configuration.DefaultConvention

The default convention.
Inheritance: IConvention
Afficher le fichier Open project: Polylytics/dashing

Protected Properties

Свойство Type Description
Pluralizer System.Data.Entity.Design.PluralizationServices.PluralizationService

Méthodes publiques

Méthode Description
DecimalPrecisionFor ( Type entity, string propertyName ) : byte

The decimal precision for.

DecimalScaleFor ( Type entity, string propertyName ) : byte

The decimal scale for.

DefaultConvention ( ushort stringLength = 255, byte decimalPrecision = 18, byte decimalScale = 10 ) : System

Initializes a new instance of the DefaultConvention class.

IsPrimaryKeyAutoGenerated ( IColumn primaryKeyColumn ) : bool

The is primary key auto generated.

PrimaryKeyFor ( Type entity, IEnumerable propertyNames ) : string

The primary key of.

SchemaFor ( Type entity ) : string

The schema for.

StringLengthFor ( Type entity, string propertyName ) : ushort

The string length for.

TableFor ( Type entity ) : string

The table for.

Private Methods

Méthode Description
ScorePrimaryKeyCandidate ( string propertyName ) : PrimaryKeyCandidate

Method Details

DecimalPrecisionFor() public méthode

The decimal precision for.
public DecimalPrecisionFor ( Type entity, string propertyName ) : byte
entity System.Type /// The entity. ///
propertyName string /// The property name. ///
Résultat byte

DecimalScaleFor() public méthode

The decimal scale for.
public DecimalScaleFor ( Type entity, string propertyName ) : byte
entity System.Type /// The entity. ///
propertyName string /// The property name. ///
Résultat byte

DefaultConvention() public méthode

Initializes a new instance of the DefaultConvention class.
public DefaultConvention ( ushort stringLength = 255, byte decimalPrecision = 18, byte decimalScale = 10 ) : System
stringLength ushort /// The string length. ///
decimalPrecision byte /// The decimal precision. ///
decimalScale byte /// The decimal scale. ///
Résultat System

IsPrimaryKeyAutoGenerated() public méthode

The is primary key auto generated.
public IsPrimaryKeyAutoGenerated ( IColumn primaryKeyColumn ) : bool
primaryKeyColumn IColumn /// The entity. ///
Résultat bool

PrimaryKeyFor() public méthode

The primary key of.
public PrimaryKeyFor ( Type entity, IEnumerable propertyNames ) : string
entity System.Type /// The entity. ///
propertyNames IEnumerable /// The array of property names to choose from. ///
Résultat string

SchemaFor() public méthode

The schema for.
public SchemaFor ( Type entity ) : string
entity System.Type /// The entity. ///
Résultat string

StringLengthFor() public méthode

The string length for.
public StringLengthFor ( Type entity, string propertyName ) : ushort
entity System.Type /// The entity. ///
propertyName string /// The property name. ///
Résultat ushort

TableFor() public méthode

The table for.
public TableFor ( Type entity ) : string
entity System.Type /// The entity. ///
Résultat string

Property Details

Pluralizer protected_oe property

The pluralizer.
protected PluralizationService,System.Data.Entity.Design.PluralizationServices Pluralizer
Résultat System.Data.Entity.Design.PluralizationServices.PluralizationService