C# 클래스 Zetbox.App.Extensions.RelationExtensions

파일 보기 프로젝트 열기: daszat/zetbox

공개 메소드들

메소드 설명
GetAssociationName ( this rel ) : string

Returns the association name for the given relation

GetOtherEndFromRole ( this rel, RelationEndRole role ) : RelationEnd
GetParent ( this relEnd ) : Relation
GetReferencedObjectClass ( this prop ) : ObjectClass
GetRelationAssociationName ( this rel, RelationEndRole endRole ) : string

Returns the association name for the association from the given end to the CollectionEntry

GetRole ( this relEnd ) : RelationEndRole
HasStorage ( this rel, RelationEndRole role ) : bool
IsNullable ( this relEnd ) : bool
Lookup ( IZetboxContext ctx, ObjectReferenceProperty prop ) : Relation

메소드 상세

GetAssociationName() 공개 정적인 메소드

Returns the association name for the given relation
public static GetAssociationName ( this rel ) : string
rel this
리턴 string

GetOtherEndFromRole() 공개 정적인 메소드

public static GetOtherEndFromRole ( this rel, RelationEndRole role ) : RelationEnd
rel this
role RelationEndRole
리턴 RelationEnd

GetParent() 공개 정적인 메소드

public static GetParent ( this relEnd ) : Relation
relEnd this
리턴 Relation

GetReferencedObjectClass() 공개 정적인 메소드

public static GetReferencedObjectClass ( this prop ) : ObjectClass
prop this
리턴 ObjectClass

GetRelationAssociationName() 공개 정적인 메소드

Returns the association name for the association from the given end to the CollectionEntry
public static GetRelationAssociationName ( this rel, RelationEndRole endRole ) : string
rel this
endRole RelationEndRole
리턴 string

GetRole() 공개 정적인 메소드

public static GetRole ( this relEnd ) : RelationEndRole
relEnd this
리턴 RelationEndRole

HasStorage() 공개 정적인 메소드

public static HasStorage ( this rel, RelationEndRole role ) : bool
rel this
role RelationEndRole
리턴 bool

IsNullable() 공개 정적인 메소드

public static IsNullable ( this relEnd ) : bool
relEnd this
리턴 bool

Lookup() 공개 정적인 메소드

public static Lookup ( IZetboxContext ctx, ObjectReferenceProperty prop ) : Relation
ctx IZetboxContext
prop ObjectReferenceProperty
리턴 Relation