Click or drag to resize

ILicensingProviderUpdateRealm Method

Updates or inserts a Realm.

Namespace: RCS.Carbon.Licensing.Shared
Assembly: RCS.Carbon.Licensing.Shared (in RCS.Carbon.Licensing.Shared.dll) Version: 9.1.22
Syntax
C#
Task<Realm?> UpdateRealm(
	Realm realm
)

Parameters

realm  Realm
The Realm entity providing the values to update or insert. If the Id property of the realm is null then a new Realm entity is inserted, otherwise an existing Realm with the Id is updated.

Return Value

TaskRealm
An asynchronous Task with a Result containing the full ('deep' loaded) Realm entity that was updated or inserted. If an erroneous attempt is made to update an existing Realm with an Id that isn't found, then the licensing provider implementation may chose to return null or throw an Exception.
Remarks
A unique random Id is assigned to inserted Realms. The Id, Created and relationship properties of an updated Realm will not be modified.
See Also