ITsmRepository Interface
Provides access to the store specific functions.
public interface ITsmRepository : HAKOM.Persistence.Core.Net.Api.IRepository<HAKOM.TSM.Net.Api.Persistence.ITsmRepositoryInformation>, HAKOM.Persistence.Core.Net.Api.IRepositoryImplements HAKOM.Persistence.Core.Net.Api.IRepository<ITsmRepositoryInformation>, IRepository
Methods
Section titled “Methods”ITsmRepository.GetAttributeDataStore(ITimeSeriesAssignmentReference<IAttribute>, CancellationToken) Method
Section titled “ITsmRepository.GetAttributeDataStore(ITimeSeriesAssignmentReference<IAttribute>, CancellationToken) Method”Gets a store used for CRUD operations on attribute data.
System.Threading.Tasks.Task<HAKOM.TSM.Net.Api.Data.Persistence.Attributes.IAttributeDataStore> GetAttributeDataStore(HAKOM.TSM.Net.Api.TimeSeries.Persistence.Assignment.References.ITimeSeriesAssignmentReference<HAKOM.TSM.Net.Api.Attributes.IAttribute> attributeAssignmentReference, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”attributeAssignmentReference HAKOM.TSM.Net.Api.TimeSeries.Persistence.Assignment.References.ITimeSeriesAssignmentReference<IAttribute>
The ITimeSeriesAssignmentReference<TAssigned> used to configure the new data store.
cancellationToken System.Threading.CancellationToken
Propagates a notification if the operations should be canceled.
Returns
Section titled “Returns”System.Threading.Tasks.Task<IAttributeDataStore>
A System.Threading.Tasks.Task<> containing the created IAttributeDataStore.
ITsmRepository.GetAttributeStore(CancellationToken) Method
Section titled “ITsmRepository.GetAttributeStore(CancellationToken) Method”Gets a store used for CRUD operations on attributes.
System.Threading.Tasks.Task<HAKOM.TSM.Net.Api.Attributes.Persistence.IAttributeStore> GetAttributeStore(System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”cancellationToken System.Threading.CancellationToken
Propagates a notification if the operations should be canceled.
Returns
Section titled “Returns”System.Threading.Tasks.Task<IAttributeStore>
An awaitable System.Threading.Tasks.Task containing the IAttributeStore.
ITsmRepository.GetAttributeTypeStore(CancellationToken) Method
Section titled “ITsmRepository.GetAttributeTypeStore(CancellationToken) Method”Gets a store used for CRUD operations on attribute types.
System.Threading.Tasks.Task<HAKOM.TSM.Net.Api.Attributes.Persistence.IAttributeTypeStore> GetAttributeTypeStore(System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”cancellationToken System.Threading.CancellationToken
Propagates a notification if the operations should be canceled.
Returns
Section titled “Returns”System.Threading.Tasks.Task<IAttributeTypeStore>
An awaitable System.Threading.Tasks.Task containing the IAttributeTypeStore.
ITsmRepository.GetConstantUnitConversionStore(CancellationToken) Method
Section titled “ITsmRepository.GetConstantUnitConversionStore(CancellationToken) Method”Gets a store used for CRUD operations on constant unit conversions.
System.Threading.Tasks.Task<HAKOM.TSM.Net.Api.Units.Persistence.IConstantUnitConversionStore> GetConstantUnitConversionStore(System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”cancellationToken System.Threading.CancellationToken
Propagates a notification if the operations should be canceled.
Returns
Section titled “Returns”System.Threading.Tasks.Task<IConstantUnitConversionStore>
An awaitable System.Threading.Tasks.Task containing the IConstantUnitConversionStore.
ITsmRepository.GetListAttributeUnitStore(CancellationToken) Method
Section titled “ITsmRepository.GetListAttributeUnitStore(CancellationToken) Method”Gest a store used for CRUD operations on list attribute units.
System.Threading.Tasks.Task<HAKOM.TSM.Net.Api.Attributes.Lists.Persistence.IListAttributeUnitStore> GetListAttributeUnitStore(System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”cancellationToken System.Threading.CancellationToken
Propagates a notification if the operations should be canceled.
Returns
Section titled “Returns”System.Threading.Tasks.Task<IListAttributeUnitStore>
An awaitable System.Threading.Tasks.Task containing the IListAttributeUnitStore.
ITsmRepository.GetListAttributeValueStore(CancellationToken) Method
Section titled “ITsmRepository.GetListAttributeValueStore(CancellationToken) Method”Gets a store used for CRUD operations on list attribute values.
System.Threading.Tasks.Task<HAKOM.TSM.Net.Api.Attributes.Lists.Persistence.IListAttributeValueStore> GetListAttributeValueStore(System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”cancellationToken System.Threading.CancellationToken
Propagates a notification if the operations should be canceled.
Returns
Section titled “Returns”System.Threading.Tasks.Task<IListAttributeValueStore>
An awaitable System.Threading.Tasks.Task containing the IListAttributeValueStore.
ITsmRepository.GetNodeStore(CancellationToken) Method
Section titled “ITsmRepository.GetNodeStore(CancellationToken) Method”Gets a store used for CRUD operations on nodes.
System.Threading.Tasks.Task<HAKOM.TSM.Net.Api.Attributes.Nodes.Persistence.INodeStore> GetNodeStore(System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”cancellationToken System.Threading.CancellationToken
Propagates a notification if the operations should be canceled.
Returns
Section titled “Returns”System.Threading.Tasks.Task<INodeStore>
A System.Threading.Tasks.Task containing the INodeStore.
ITsmRepository.GetTimeDependentUnitConversionStore(CancellationToken) Method
Section titled “ITsmRepository.GetTimeDependentUnitConversionStore(CancellationToken) Method”Gets a store used for CRUD operations on time dependent unit conversions.
System.Threading.Tasks.Task<HAKOM.TSM.Net.Api.Units.Persistence.ITimeDependentUnitConversionStore> GetTimeDependentUnitConversionStore(System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”cancellationToken System.Threading.CancellationToken
Propagates a notification if the operations should be canceled.
Returns
Section titled “Returns”System.Threading.Tasks.Task<ITimeDependentUnitConversionStore>
An awaitable System.Threading.Tasks.Task containing the ITimeDependentUnitConversionStore.
ITsmRepository.GetTimeSeriesDataStore(ITimeSeriesReference, CancellationToken) Method
Section titled “ITsmRepository.GetTimeSeriesDataStore(ITimeSeriesReference, CancellationToken) Method”Gets a store used for CRUD operations on time series data.
System.Threading.Tasks.Task<HAKOM.TSM.Net.Api.Data.Persistence.TimeSeries.ITimeSeriesDataStore> GetTimeSeriesDataStore(HAKOM.TSM.Net.Api.TimeSeries.Persistence.References.ITimeSeriesReference timeSeriesReference, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”timeSeriesReference ITimeSeriesReference
The ITimeSeriesReference to which the data relates.
cancellationToken System.Threading.CancellationToken
Propagates a notification if the operations should be canceled.
Returns
Section titled “Returns”System.Threading.Tasks.Task<ITimeSeriesDataStore>
An awaitable System.Threading.Tasks.Task containing the ITimeSeriesDataStore.
ITsmRepository.GetTimeSeriesStore(CancellationToken) Method
Section titled “ITsmRepository.GetTimeSeriesStore(CancellationToken) Method”Gets a store used for CRUD operations on time series.
System.Threading.Tasks.Task<HAKOM.TSM.Net.Api.TimeSeries.Persistence.ITimeSeriesStore> GetTimeSeriesStore(System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”cancellationToken System.Threading.CancellationToken
Propagates a notification if the operations should be canceled.
Returns
Section titled “Returns”System.Threading.Tasks.Task<ITimeSeriesStore>
An awaitable System.Threading.Tasks.Task containing the ITimeSeriesStore.
ITsmRepository.GetUnitConversionStore(CancellationToken) Method
Section titled “ITsmRepository.GetUnitConversionStore(CancellationToken) Method”Gets a store used for CRUD operations on unit conversions.
System.Threading.Tasks.Task<HAKOM.TSM.Net.Api.Units.Persistence.IUnitConversionStore> GetUnitConversionStore(System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”cancellationToken System.Threading.CancellationToken
Propagates a notification if the operations should be canceled.
Returns
Section titled “Returns”System.Threading.Tasks.Task<IUnitConversionStore>
An awaitable System.Threading.Tasks.Task containing the IUnitConversionStore.
ITsmRepository.GetUnitStore(CancellationToken) Method
Section titled “ITsmRepository.GetUnitStore(CancellationToken) Method”Gets a store used for CRUD operations on units.
System.Threading.Tasks.Task<HAKOM.TSM.Net.Api.Units.Persistence.IUnitStore> GetUnitStore(System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”cancellationToken System.Threading.CancellationToken
Propagates a notification if the operations should be canceled.
Returns
Section titled “Returns”System.Threading.Tasks.Task<IUnitStore>
An awaitable System.Threading.Tasks.Task containing the IUnitStore.
ITsmRepository.TryGetAttributeDataStore(ITimeSeriesAssignmentReference<IAttribute>, CancellationToken) Method
Section titled “ITsmRepository.TryGetAttributeDataStore(ITimeSeriesAssignmentReference<IAttribute>, CancellationToken) Method”Attempts to get a store used for CRUD operations on attribute data.
System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Data.Persistence.Attributes.IAttributeDataStore>> TryGetAttributeDataStore(HAKOM.TSM.Net.Api.TimeSeries.Persistence.Assignment.References.ITimeSeriesAssignmentReference<HAKOM.TSM.Net.Api.Attributes.IAttribute> attributeAssignmentReference, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”attributeAssignmentReference HAKOM.TSM.Net.Api.TimeSeries.Persistence.Assignment.References.ITimeSeriesAssignmentReference<IAttribute>
The ITimeSeriesAssignmentReference<TAssigned> used to configure the new data store.
cancellationToken System.Threading.CancellationToken
Propagates a notification if the operations should be canceled.
Returns
Section titled “Returns”System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<IAttributeDataStore>>
A System.Threading.Tasks.Task<> of Result<TValue> containing the created
IAttributeDataStore.
Remarks
Section titled “Remarks”The Result will provide additional information about success or failure.
ITsmRepository.TryGetAttributeStore(CancellationToken) Method
Section titled “ITsmRepository.TryGetAttributeStore(CancellationToken) Method”Tries to get a store used for CRUD operations on attributes.
System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Attributes.Persistence.IAttributeStore>> TryGetAttributeStore(System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”cancellationToken System.Threading.CancellationToken
Propagates a notification if the operations should be canceled.
Returns
Section titled “Returns”System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<IAttributeStore>>
A System.Threading.Tasks.Task<> of Result<TValue> containing the created IAttributeStore.
Remarks
Section titled “Remarks”The Result will provide additional information about success or failure.
ITsmRepository.TryGetAttributeTypeStore(CancellationToken) Method
Section titled “ITsmRepository.TryGetAttributeTypeStore(CancellationToken) Method”Tries to get a store used for CRUD operations on attribute types.
System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Attributes.Persistence.IAttributeTypeStore>> TryGetAttributeTypeStore(System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”cancellationToken System.Threading.CancellationToken
Propagates a notification if the operations should be canceled.
Returns
Section titled “Returns”System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<IAttributeTypeStore>>
A System.Threading.Tasks.Task<> of Result<TValue> containing the created IAttributeTypeStore.
Remarks
Section titled “Remarks”The Result will provide additional information about success or failure.
ITsmRepository.TryGetConstantUnitConversionStore(CancellationToken) Method
Section titled “ITsmRepository.TryGetConstantUnitConversionStore(CancellationToken) Method”Tries to get a store used for CRUD operations on constant unit conversions.
System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Units.Persistence.IConstantUnitConversionStore>> TryGetConstantUnitConversionStore(System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”cancellationToken System.Threading.CancellationToken
Propagates a notification if the operations should be canceled.
Returns
Section titled “Returns”System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<IConstantUnitConversionStore>>
A System.Threading.Tasks.Task<> of Result<TValue> containing the created IConstantUnitConversionStore.
Remarks
Section titled “Remarks”The Result will provide additional information about success or failure.
ITsmRepository.TryGetListAttributeUnitStore(CancellationToken) Method
Section titled “ITsmRepository.TryGetListAttributeUnitStore(CancellationToken) Method”Tries to get a store used for CRUD operations on list attribute units.
System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Attributes.Lists.Persistence.IListAttributeUnitStore>> TryGetListAttributeUnitStore(System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”cancellationToken System.Threading.CancellationToken
Propagates a notification if the operations should be canceled.
Returns
Section titled “Returns”System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<IListAttributeUnitStore>>
A System.Threading.Tasks.Task<> of Result<TValue> containing the created IListAttributeUnitStore.
Remarks
Section titled “Remarks”The Result will provide additional information about success or failure.
ITsmRepository.TryGetListAttributeValueStore(CancellationToken) Method
Section titled “ITsmRepository.TryGetListAttributeValueStore(CancellationToken) Method”Tries to get a store used for CRUD operations on list attribute values.
System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Attributes.Lists.Persistence.IListAttributeValueStore>> TryGetListAttributeValueStore(System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”cancellationToken System.Threading.CancellationToken
Propagates a notification if the operations should be canceled.
Returns
Section titled “Returns”System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<IListAttributeValueStore>>
A System.Threading.Tasks.Task<> of Result<TValue> containing the created IListAttributeValueStore.
Remarks
Section titled “Remarks”The Result will provide additional information about success or failure.
ITsmRepository.TryGetNodeStore(CancellationToken) Method
Section titled “ITsmRepository.TryGetNodeStore(CancellationToken) Method”Tries to get a store used for CRUD operations on nodes.
System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Attributes.Nodes.Persistence.INodeStore>> TryGetNodeStore(System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”cancellationToken System.Threading.CancellationToken
Propagates a notification if the operations should be canceled.
Returns
Section titled “Returns”System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<INodeStore>>
A System.Threading.Tasks.Task<> of Result<TValue> containing the created INodeStore.
Remarks
Section titled “Remarks”The Result will provide additional information about success or failure.
ITsmRepository.TryGetTimeDependentUnitConversionStore(CancellationToken) Method
Section titled “ITsmRepository.TryGetTimeDependentUnitConversionStore(CancellationToken) Method”Tries to get a store used for CRUD operations on time dependent unit conversions.
System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Units.Persistence.ITimeDependentUnitConversionStore>> TryGetTimeDependentUnitConversionStore(System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”cancellationToken System.Threading.CancellationToken
Propagates a notification if the operations should be canceled.
Returns
Section titled “Returns”System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<ITimeDependentUnitConversionStore>>
A System.Threading.Tasks.Task<> of Result<TValue> containing the created ITimeDependentUnitConversionStore.
Remarks
Section titled “Remarks”The Result will provide additional information about success or failure.
ITsmRepository.TryGetTimeSeriesDataStore(ITimeSeriesReference, CancellationToken) Method
Section titled “ITsmRepository.TryGetTimeSeriesDataStore(ITimeSeriesReference, CancellationToken) Method”Tries to get a store used for CRUD operations on time series data.
System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Data.Persistence.TimeSeries.ITimeSeriesDataStore>> TryGetTimeSeriesDataStore(HAKOM.TSM.Net.Api.TimeSeries.Persistence.References.ITimeSeriesReference timeSeriesReference, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”timeSeriesReference ITimeSeriesReference
The ITimeSeriesReference to which the data relates.
cancellationToken System.Threading.CancellationToken
Propagates a notification if the operations should be canceled.
Returns
Section titled “Returns”System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<ITimeSeriesDataStore>>
A System.Threading.Tasks.Task<> of Result<TValue> containing the created ITimeSeriesDataStore.
Remarks
Section titled “Remarks”The Result will provide additional information about success or failure.
ITsmRepository.TryGetTimeSeriesStore(CancellationToken) Method
Section titled “ITsmRepository.TryGetTimeSeriesStore(CancellationToken) Method”Tries to get a store used for CRUD operations on time series.
System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.TimeSeries.Persistence.ITimeSeriesStore>> TryGetTimeSeriesStore(System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”cancellationToken System.Threading.CancellationToken
Propagates a notification if the operations should be canceled.
Returns
Section titled “Returns”System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<ITimeSeriesStore>>
A System.Threading.Tasks.Task<> of Result<TValue> containing the created ITimeSeriesStore.
Remarks
Section titled “Remarks”The Result will provide additional information about success or failure.
ITsmRepository.TryGetUnitConversionStore(CancellationToken) Method
Section titled “ITsmRepository.TryGetUnitConversionStore(CancellationToken) Method”Tries to get a store used for CRUD operations on unit conversions.
System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Units.Persistence.IUnitConversionStore>> TryGetUnitConversionStore(System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”cancellationToken System.Threading.CancellationToken
Propagates a notification if the operations should be canceled.
Returns
Section titled “Returns”System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<IUnitConversionStore>>
A System.Threading.Tasks.Task<> of Result<TValue> containing the created IUnitConversionStore.
Remarks
Section titled “Remarks”The Result will provide additional information about success or failure.
ITsmRepository.TryGetUnitStore(CancellationToken) Method
Section titled “ITsmRepository.TryGetUnitStore(CancellationToken) Method”Tries to get a store used for CRUD operations on units.
System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Units.Persistence.IUnitStore>> TryGetUnitStore(System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));Parameters
Section titled “Parameters”cancellationToken System.Threading.CancellationToken
Propagates a notification if the operations should be canceled.
Returns
Section titled “Returns”System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<IUnitStore>>
A System.Threading.Tasks.Task<> of Result<TValue> containing the created IUnitStore.
Remarks
Section titled “Remarks”The Result will provide additional information about success or failure.