C# Класс Zetbox.App.Extensions.RelationExtensions

Показать файл Открыть проект

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

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