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);
}
public interface IRenderer {
// Should set ViewData["Message|Author|Body"]
object Get(Controller c);
string Template { get; }
string Name { get; set; }
}
}