Show / Hide Table of Contents

Interface IDataExportContext

Interface for data export context.

Inherited Members
IDataIOContext.RootObjectType
IDataIOContext.SerializationContextConfig
IContext.CompositionContext
IContext.AmbientServices
IContext.Identity
IExpando.HasDynamicMember(String)
IExpando.ToDictionary(Func<String, String>, Func<Object, Object>)
System.Dynamic.IDynamicMetaObjectProvider.GetMetaObject(System.Linq.Expressions.Expression)
IIndexable.Item[String]
ILoggable.Logger
System.IDisposable.Dispose()
Namespace: Kephas.Data.IO.Export
Assembly: Kephas.Data.IO.dll
Syntax
public interface IDataExportContext : IDataIOContext, IContext, IExpando, IDynamicMetaObjectProvider, IIndexable, ILoggable, IDisposable

Properties

| Improve this Doc View Source

ClientQueryExecutionContextConfig

Gets or sets the client query execution context configuration.

Declaration
Action<IClientQueryExecutionContext> ClientQueryExecutionContextConfig { get; set; }
Property Value
Type Description
System.Action<IClientQueryExecutionContext>

The client query execution context configuration.

| Improve this Doc View Source

Data

Gets the data to be exported.

Declaration
IEnumerable<object> Data { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.Object>

The data to be exported.

| Improve this Doc View Source

DefaultRootTargetType

Gets or sets the default root target type.

Declaration
Type DefaultRootTargetType { get; set; }
Property Value
Type Description
System.Type

The default root target type.

| Improve this Doc View Source

Output

Gets or sets the export output.

Declaration
DataStream Output { get; set; }
Property Value
Type Description
DataStream

The export output.

| Improve this Doc View Source

Query

Gets the query used to retrieve the data to be exported.

Declaration
ClientQuery Query { get; }
Property Value
Type Description
ClientQuery

The query to retrieve data.

| Improve this Doc View Source

ThrowOnNotFound

Gets or sets a value indicating whether to throw an exception if no data is found to export.

Declaration
bool ThrowOnNotFound { get; set; }
Property Value
Type Description
System.Boolean

truetrue to throw an exception if no data is found to export, otherwise false.

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)
DataIOContextExtensions.WithSerializationContextConfig(IDataIOContext, Action<ISerializationContext>)
DataIOContextExtensions.WithRootObjectType(IDataIOContext, Type)
DataExportContextExtensions.EnsureResult(IDataExportContext, Func<IOperationResult>)
DataExportContextExtensions.GetResult(IDataExportContext)
DataExportContextExtensions.WithClientQueryExecutionContextConfig(IDataExportContext, Action<IClientQueryExecutionContext>)
MessageBrokerExtensions.CreateBrokeredMessageBuilder(IContext)
ContextExtensions.InitialData(IContext)
ContextExtensions.WithInitialData<TContext>(TContext, IEnumerable<(Object entity, ChangeState changeState)>)
ContextExtensions.WithInitialData<TContext>(TContext, IEnumerable<Object>)
ContextExtensions.WithInitialData<TContext>(TContext, IEnumerable<IChangeStateTrackableEntityEntry>)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX