using System;
using System.Configuration;
using System.Collections.Specialized;
using System.Data;
using System.Web.Mvc;
namespace Yavsc.Model
{
///
/// I module.
///
public interface IModule
{
///
/// Install the model in database using the specified cnx.
///
/// Cnx.
void Install(IDbConnection cnx);
///
/// Uninstall the module data and data model from
/// database, using the specified connection.
///
/// Cnx.
/// If set to true remove config.
void Uninstall(IDbConnection cnx, bool removeConfig);
///
/// Initialize this object using the specified name and config.
///
/// Name.
/// Config.
void Initialize (string name, NameValueCollection config);
}
}