|
ILicensingProviderUpdateRealm Method
|
Updates or inserts a Realm.
Namespace: RCS.Carbon.Licensing.SharedAssembly: RCS.Carbon.Licensing.Shared (in RCS.Carbon.Licensing.Shared.dll) Version: 9.1.22
SyntaxTask<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
TaskRealmAn 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.
RemarksA unique random Id is assigned to inserted Realms. The Id, Created and relationship properties of
an updated Realm will not be modified.
See Also