Skip to content

EntityGraph class

public class Korzh.EasyQuery.EntityGraph
: ObjectGraph<Type>
TypeNameDescription
TypeContextType
BooleanIsEmptyReturns if this graph is empty; otherwise, .
TypeNameDescription
StringGetCollectionName(Type type)Used to get the name of the collection in context
EdgeInfoGetEdgeInfo(ObjectModelType t1, ObjectModelType t2)Gets the information about some edge in entity graph (see Korzh.EasyQuery.EntityGraph for details).
StringGetNavigationPropertyName(Type from, Type to)
voidSetCollectionName(Type type, String name)
voidSetNavigationPropertyName(Type from, Type to, String name)
voidUpdateEntityJoinInfo(Type outerType, Type innerType, String outerPropertyName, String innerPropertyName)Updates the information about some edge (join) in the entity graph. This method adds new edge if it’s not defined yet or update the existing one.