Table of Contents

Method Get

Namespace
Innova.Data.Entity
Assembly
Innova.Data.dll

Get(Stream, Expression<Func<TEntity, object>>, Expression<Func<TEntity, bool>>)

Asynchronously retrieves a BLOB or binary column from the database and writes it to the provided output stream.

public Task Get(Stream stream, Expression<Func<TEntity, object>> columnSelector, Expression<Func<TEntity, bool>> filterExpression)

Parameters

stream Stream

The output stream where the data will be written.

columnSelector Expression<Func<TEntity, object>>

An expression selecting the target column to retrieve.

filterExpression Expression<Func<TEntity, bool>>

A filter expression identifying the row(s) to read from.

Returns

Task

A task representing the asynchronous operation.