C# Class Zetbox.App.Extensions.RelationExtensions

Afficher le fichier Open project: daszat/zetbox

Méthodes publiques

Méthode Description
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

Method Details

GetAssociationName() public static méthode

Returns the association name for the given relation
public static GetAssociationName ( this rel ) : string
rel this
Résultat string

GetOtherEndFromRole() public static méthode

public static GetOtherEndFromRole ( this rel, RelationEndRole role ) : RelationEnd
rel this
role RelationEndRole
Résultat RelationEnd

GetParent() public static méthode

public static GetParent ( this relEnd ) : Relation
relEnd this
Résultat Relation

GetReferencedObjectClass() public static méthode

public static GetReferencedObjectClass ( this prop ) : ObjectClass
prop this
Résultat ObjectClass

GetRelationAssociationName() public static méthode

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
Résultat string

GetRole() public static méthode

public static GetRole ( this relEnd ) : RelationEndRole
relEnd this
Résultat RelationEndRole

HasStorage() public static méthode

public static HasStorage ( this rel, RelationEndRole role ) : bool
rel this
role RelationEndRole
Résultat bool

IsNullable() public static méthode

public static IsNullable ( this relEnd ) : bool
relEnd this
Résultat bool

Lookup() public static méthode

public static Lookup ( IZetboxContext ctx, ObjectReferenceProperty prop ) : Relation
ctx IZetboxContext
prop ObjectReferenceProperty
Résultat Relation