Table of Contents

Method Update

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

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

Asynchronously updates a BLOB or binary column in the database with the contents of the provided stream.

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

Parameters

stream Stream

The input stream containing binary data to store.

columnSelector Expression<Func<TEntity, object>>

An expression selecting the target column to update.

filterExpression Expression<Func<TEntity, bool>>

A filter expression identifying the row(s) to update.

Returns

Task

A task representing the asynchronous operation.