using System; using System.Configuration; using System.Collections.Specialized; using System.Data; using System.Web.Mvc; namespace Yavsc.Model { 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 cnx. /// /// Cnx. /// If set to true remove config. void Uninstall(IDbConnection cnx,bool removeConfig); void Initialize (string name, NameValueCollection config); } }