C# Класс Dashing.Configuration.DefaultConvention

The default convention.
Наследование: IConvention
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
Pluralizer System.Data.Entity.Design.PluralizationServices.PluralizationService

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
ScorePrimaryKeyCandidate ( string propertyName ) : PrimaryKeyCandidate

Описание методов

DecimalPrecisionFor() публичный Метод

The decimal precision for.
public DecimalPrecisionFor ( Type entity, string propertyName ) : byte
entity System.Type /// The entity. ///
propertyName string /// The property name. ///
Результат byte

DecimalScaleFor() публичный Метод

The decimal scale for.
public DecimalScaleFor ( Type entity, string propertyName ) : byte
entity System.Type /// The entity. ///
propertyName string /// The property name. ///
Результат byte

DefaultConvention() публичный Метод

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. ///
Результат System

IsPrimaryKeyAutoGenerated() публичный Метод

The is primary key auto generated.
public IsPrimaryKeyAutoGenerated ( IColumn primaryKeyColumn ) : bool
primaryKeyColumn IColumn /// The entity. ///
Результат bool

PrimaryKeyFor() публичный Метод

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. ///
Результат string

SchemaFor() публичный Метод

The schema for.
public SchemaFor ( Type entity ) : string
entity System.Type /// The entity. ///
Результат string

StringLengthFor() публичный Метод

The string length for.
public StringLengthFor ( Type entity, string propertyName ) : ushort
entity System.Type /// The entity. ///
propertyName string /// The property name. ///
Результат ushort

TableFor() публичный Метод

The table for.
public TableFor ( Type entity ) : string
entity System.Type /// The entity. ///
Результат string

Описание свойств

Pluralizer защищенное свойство

The pluralizer.
protected PluralizationService,System.Data.Entity.Design.PluralizationServices Pluralizer
Результат System.Data.Entity.Design.PluralizationServices.PluralizationService