EntityGraph class
Represents the entity graph created during the loading of the model from some context type Implements the Korzh.EasyQuery.ObjectGraph`1
public class Korzh.EasyQuery.EntityGraph : ObjectGraph<Type>
Package: Korzh.EasyQuery
(targets: netstandard2.0
)
Assembly: Korzh.EasyQuery.dll
Constructors
Section titled “Constructors”Name | Type | Description |
---|---|---|
EntityGraph() | void |
Properties
Section titled “Properties”Name | Type | Description |
---|---|---|
ContextType | Type | Gets or sets the type of the context. |
IsEmpty | bool | Returns |
Methods
Section titled “Methods”Name | Type | Description |
---|---|---|
GetCollectionName(Type type) | string | Used to get the name of the collection in context |
GetEdgeInfo(ObjectModelType t1, ObjectModelType t2) | EdgeInfo | Gets the information about some edge in entity graph (see Korzh.EasyQuery.EntityGraph for details). |
GetNavigationPropertyName(Type from, Type to) | string | Gets the name of the navigation property. |
SetCollectionName(Type type, string name) | void | Sets the name of the collection. |
SetNavigationPropertyName(Type from, Type to, string name) | void | Sets the name of the navigation property. |
UpdateEntityJoinInfo(Type outerType, Type innerType, string outerPropertyName, string innerPropertyName) | void | 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. |