Repository.Model.DeleteModel

Syntax
DeleteModel( ID )

Parameters
 * ID: The ID to delete.

Usage Example
Dim 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(20) Dim SucessDeleteModel As Boolean SucessDeleteModel = MyRepository.DeleteModel(20) MyRepository.DisconnectFromRepository