"DeleteModuleDefinition" Stored Procedure

Description:

This stored procedure deletes a module type definition from the selected portal. The input parameter is ModuleDefID, the primary key for the record.

Definition:
    
    CREATE PROCEDURE DeleteModuleDefinition
    (
        @ModuleDefID int
    )
    AS

    DELETE FROM
        ModuleDefinitions

    WHERE
        ModuleDefID = @ModuleDefID
        
Database Tables Used:

ModuleDefinitions:  Each record in the ModuleDefinitions table defines a different type of modules that may be used in the selected portal. Individual modules reference this definition via the ModuleDefID, the primary key for this table. All modules must define a Desktop module version; optionally they may also define a Mobile version.