Repository.Model.UpdateModel

Updates the model

Parameters
m The cModel of the model to update.

Usage Example
Private WithEvents MyRepository As New Repository

Dim Success As Boolean = False Success = MyRepository.ConnectToRepository("RepositoryFileNamePath")

Dim ListOfModels As NameIdPair ListOfModels = MyRepository.GetAllModelsInfo

Dim AModel as cModel AModel = MyRepository.GetModel(ListOfModels(0).ID)

Dim SuccessUpdateModel As Boolean SuccessUpdateModel = MyRepository.UpdateModel(AModel)