Repository.Model.UpdateModel

Syntax
UpdateModel( m cModel )

Parameters
 * m: The cModel to update.

Usage Example
Dim MyRepository As New Repository Dim Success As Boolean = False Success = MyRepository.ConnectToRepository("RepositoryFileNamePath") Dim ListOfModels As NameIdPair ListOfModels = MyRepository.Model.GetAllModelsInfo Dim AModel as cModel AModel = MyRepository.Model.GetModel(20) AModel.Name = "New Name" Dim SuccessUpdateModel As Boolean SuccessUpdateModel = MyRepository.Model.UpdateModel(AModel) MyRepository.DisconnectFromRepository