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
파일 보기 프로젝트 열기: JeremySkinner/FluentLinqToSql

공개 메소드들

메소드 설명
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