TDbTenantCatalog.SaveTenant Method
Creates or updates a tenant record.
Remarks
A new record is stored with Version 1; an existing record has its Version incremented. Raises EArgumentException if the tenant id is empty.
Syntax
Unit: Aurelius.Tenancy.Catalog.Db
procedure TDbTenantCatalog.SaveTenant(const Tenant: TTenantInfo); override;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | Tenant | TTenantInfo | The tenant record to save. |