C# 클래스 nHydrate.Dsl.Entity

상속: nHydrate.Dsl.IModuleLink, nHydrate.Dsl.IDatabaseEntity, nHydrate.Dsl.IFieldContainer
파일 보기 프로젝트 열기: nHydrate/nHydrate 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Validate void
ValidateFields void

공개 메소드들

메소드 설명
GetBasePKColumn ( Field column ) : Field

Given a field from this table a search is performed to get the same column from the base table if one exists

GetBasePKColumnList ( ) : IEnumerable

Returns all primary keys from the ultimate ancestor in the table hierarchy

GetBasePKColumnList ( Field column ) : IEnumerable

Given a field from this table a search is performed to get the same column from all base tables down the inheritance hierarchy

GetColumnsFullHierarchy ( ) : IEnumerable

This gets all columns from this and all base classes

GetColumnsFullHierarchy ( bool includeCurrent ) : IEnumerable

This gets all columns from this and all base classes

GetRelationsFullHierarchy ( ) : IEnumerable
GetRelationsWhereChild ( ) : IEnumerable

Returns generated relations for this table

GetRelationsWhereChild ( bool fullHierarchy ) : IEnumerable

Returns generated relations for this table

GetTableHierarchy ( ) : IEnumerable

Get the full hierarchy of tables starting with this table and working back to the most base table

IModuleLink ( Module module ) : void
IsInheritedFrom ( Entity entity ) : bool

Determines if the specified table is an ancestor of the this table object

ToString ( ) : string

보호된 메소드들

메소드 설명
OnCopy ( global::Microsoft.VisualStudio.Modeling sourceElement ) : void
OnDeleting ( ) : void

비공개 메소드들

메소드 설명
Validate ( ValidationContext context ) : void
ValidateFields ( ValidationContext context ) : void

메소드 상세

GetBasePKColumn() 공개 메소드

Given a field from this table a search is performed to get the same column from the base table if one exists
public GetBasePKColumn ( Field column ) : Field
column Field
리턴 Field

GetBasePKColumnList() 공개 메소드

Returns all primary keys from the ultimate ancestor in the table hierarchy
public GetBasePKColumnList ( ) : IEnumerable
리턴 IEnumerable

GetBasePKColumnList() 공개 메소드

Given a field from this table a search is performed to get the same column from all base tables down the inheritance hierarchy
public GetBasePKColumnList ( Field column ) : IEnumerable
column Field
리턴 IEnumerable

GetColumnsFullHierarchy() 공개 메소드

This gets all columns from this and all base classes
public GetColumnsFullHierarchy ( ) : IEnumerable
리턴 IEnumerable

GetColumnsFullHierarchy() 공개 메소드

This gets all columns from this and all base classes
public GetColumnsFullHierarchy ( bool includeCurrent ) : IEnumerable
includeCurrent bool
리턴 IEnumerable

GetRelationsFullHierarchy() 공개 메소드

public GetRelationsFullHierarchy ( ) : IEnumerable
리턴 IEnumerable

GetRelationsWhereChild() 공개 메소드

Returns generated relations for this table
public GetRelationsWhereChild ( ) : IEnumerable
리턴 IEnumerable

GetRelationsWhereChild() 공개 메소드

Returns generated relations for this table
public GetRelationsWhereChild ( bool fullHierarchy ) : IEnumerable
fullHierarchy bool
리턴 IEnumerable

GetTableHierarchy() 공개 메소드

Get the full hierarchy of tables starting with this table and working back to the most base table
public GetTableHierarchy ( ) : IEnumerable
리턴 IEnumerable

IModuleLink() 공개 메소드

public IModuleLink ( Module module ) : void
module Module
리턴 void

IsInheritedFrom() 공개 메소드

Determines if the specified table is an ancestor of the this table object
public IsInheritedFrom ( Entity entity ) : bool
entity Entity
리턴 bool

OnCopy() 보호된 메소드

protected OnCopy ( global::Microsoft.VisualStudio.Modeling sourceElement ) : void
sourceElement global::Microsoft.VisualStudio.Modeling
리턴 void

OnDeleting() 보호된 메소드

protected OnDeleting ( ) : void
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string