C# Класс FluentLinqToSql.Modifications.UseFieldForAssociationStorage

Modification that will set the 'storage' attribute for association mappings.
The modification will not be applied to mappings that have a Storge attribute explicitly specified.
Наследование: MappingModification
Показать файл Открыть проект

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

Метод Описание
UseFieldForAssociationStorage ( string>.Func nameSpecifier ) : System

Creates a new instance of the USeFieldForAssociationStorage class.

Защищенные методы

Метод Описание
HandleBelongsToMappings ( System mappings ) : void

Applies the modification to many-to-one mappings.

HandleHasManyMappings ( System mappings ) : void

Applies the modification to one-to-many mappings.

HandleHasOneMappings ( System mappings ) : void

Applies the modification to one-to-one mappings.

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

Метод Описание
ApplyStorageAttribute ( IPropertyMapping mapping ) : void

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

HandleBelongsToMappings() защищенный Метод

Applies the modification to many-to-one mappings.
protected HandleBelongsToMappings ( System mappings ) : void
mappings System The mappings to which the modification should be applied.
Результат void

HandleHasManyMappings() защищенный Метод

Applies the modification to one-to-many mappings.
protected HandleHasManyMappings ( System mappings ) : void
mappings System The one-to-many mappings to which the modification should be applied.
Результат void

HandleHasOneMappings() защищенный Метод

Applies the modification to one-to-one mappings.
protected HandleHasOneMappings ( System mappings ) : void
mappings System The mappings to which the modification should be applied.
Результат void

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

Creates a new instance of the USeFieldForAssociationStorage class.
public UseFieldForAssociationStorage ( string>.Func nameSpecifier ) : System
nameSpecifier string>.Func Delegatae that, when invoked, will return the name that should be used for the underlying storage field
Результат System