Show / Hide Table of Contents

Interface IDataImportService

Interface for data import service.

Namespace: Kephas.Data.IO.Import
Assembly: Kephas.Data.IO.dll
Syntax
[SingletonAppServiceContract]
public interface IDataImportService

Methods

| Improve this Doc View Source

ImportDataAsync(DataStream, IDataImportContext, CancellationToken)

Imports the data asynchronously.

Declaration
Task<IOperationResult> ImportDataAsync(DataStream dataSource, IDataImportContext context, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
DataStream dataSource

The data source.

IDataImportContext context

The context.

System.Threading.CancellationToken cancellationToken

The cancellation token (optional).

Returns
Type Description
System.Threading.Tasks.Task<IOperationResult>

A data import result.

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