Skip to content
Documentation

ISqlConstantUnitConversionStore Interface

A store for CRUD operations on unit conversions for sql databases.

public interface ISqlConstantUnitConversionStore : HAKOM.TSM.Net.Api.Units.Persistence.IConstantUnitConversionStore, HAKOM.Persistence.Core.Net.Api.Storage.IStore<HAKOM.Persistence.Core.Net.Api.Storage.IStorageProvider>

Implements IConstantUnitConversionStore, HAKOM.Persistence.Core.Net.Api.Storage.IStore<IStorageProvider>

ISqlConstantUnitConversionStore.Delete(int, CancellationToken) Method

Section titled “ISqlConstantUnitConversionStore.Delete(int, CancellationToken) Method”

Deletes the unit conversion with the given id.

System.Threading.Tasks.Task Delete(int id, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));

id System.Int32

The System.Int32 id of the unit conversion to delete.

cancellationToken System.Threading.CancellationToken

A token, that may be used to cancel the operation.

System.Threading.Tasks.Task
An awaitable System.Threading.Tasks.Task.

ISqlConstantUnitConversionStore.Load(int, CancellationToken) Method

Section titled “ISqlConstantUnitConversionStore.Load(int, CancellationToken) Method”

Loads the unit conversion with the given id.

System.Threading.Tasks.Task<HAKOM.TSM.Net.Api.Units.Persistence.References.IConstantUnitConversionReference> Load(int id, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));

id System.Int32

The System.Int32 id of the unit conversion to be loaded.

cancellationToken System.Threading.CancellationToken

A token, that may be used to cancel the operation.

System.Threading.Tasks.Task<IConstantUnitConversionReference>
An awaitable System.Threading.Tasks.Task<> containing the unit conversion with the given id.

ISqlConstantUnitConversionStore.TryDelete(int, CancellationToken) Method

Section titled “ISqlConstantUnitConversionStore.TryDelete(int, CancellationToken) Method”

Deletes the unit conversion with the given id.

System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result> TryDelete(int id, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));

id System.Int32

The System.Int32 id of the unit conversion to delete.

cancellationToken System.Threading.CancellationToken

A token that may be used to cancel the operation.

System.Threading.Tasks.Task<Result>
An awaitable System.Threading.Tasks.Task<> of Result.

The Result will provide additional information about success or failure.

ISqlConstantUnitConversionStore.TryLoad(int, CancellationToken) Method

Section titled “ISqlConstantUnitConversionStore.TryLoad(int, CancellationToken) Method”

Loads the unit conversion with the given id.

System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Units.Persistence.References.IConstantUnitConversionReference>> TryLoad(int id, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));

id System.Int32

The System.Int32 id of the unit conversion to be loaded.

cancellationToken System.Threading.CancellationToken

A token, that may be used to cancel the operation.

System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<IConstantUnitConversionReference>>
An awaitable System.Threading.Tasks.Task<> of Result<TValue> containing the unit conversion with the given id..

The Result will provide additional information about success or failure.

© 2026 Volue.Version v0.6.38017 November 2026