ISettingsUnitRepositoryInsertRecordAsync - метод

Inserts a new settings unit record.

Definition

Пространство имён: Tessa.SettingsUnits
Сборка: Tessa (в Tessa.dll) Версия: 4.2.1+2efecbe35c10dec386bb05925f2876c4acbb708d
C#
Task InsertRecordAsync(
	SettingsUnitRecord record,
	bool omitData = false,
	CancellationToken cancellationToken = default
)

Параметры

record  SettingsUnitRecord
Object that describes the settings unit record.
omitData  Boolean  (Optional)
Ignore insert the settings record data.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

Возвращаемое значение

Task
Represents an asynchronous operation.

Заметки

This method does not perform a permissions check. The caller is responsible for ensuring appropriate access.

Исключения

SettingsUnitAlreadyExistsExceptionThrown if a record with the same identifier already exists.

См. также