Table of Contents

Method GetKeys

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

GetKeys(QueryParameter<T>, CancellationToken)

Retrieves the primary keys of entities from the database based on the provided query parameters.

public Task<List<PrimaryKeys<T>>> GetKeys(QueryParameter<T> queryParameter, CancellationToken cancellationToken = default)

Parameters

queryParameter QueryParameter<T>

The query parameters.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<List<PrimaryKeys<T>>>

A list of primary keys of the retrieved entities.