Show / Hide Table of Contents

Interface IAggregatable

Contract for an entity's ability of being aggregated within a graph.

Namespace: Kephas.Data.Capabilities
Assembly: Kephas.Data.dll
Syntax
public interface IAggregatable

Methods

| Improve this Doc View Source

GetFlattenedEntityGraphAsync(IGraphOperationContext, CancellationToken)

Gets the flattened entity graph asynchronously. This may include also loose parts which are asynchronously loaded. If no loose parts must be loaded, then the result is the same with GetStructuralEntityGraph().

Declaration
Task<IEnumerable<object>> GetFlattenedEntityGraphAsync(IGraphOperationContext operationContext, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
IGraphOperationContext operationContext

The operation context.

System.Threading.CancellationToken cancellationToken

The cancellation token (optional).

Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<System.Object>>

A promise of the flattened entity graph.

| Improve this Doc View Source

GetGraphRoot()

Gets the root of the entity graph.

Declaration
IAggregatable GetGraphRoot()
Returns
Type Description
IAggregatable

The graph root.

| Improve this Doc View Source

GetStructuralEntityGraph()

Gets the flattened structural entity graph excluding the loose parts (only the internal structure).

Declaration
IEnumerable<object> GetStructuralEntityGraph()
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Object>

The flattened structural entity graph.

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX