Fixes the membership update.
This commit is contained in:
parent
bfb3e7d973
commit
294c54099c
35 changed files with 2683 additions and 11 deletions
34
yavscModel/IDbModule.cs
Normal file
34
yavscModel/IDbModule.cs
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
using System;
|
||||
using System.Configuration;
|
||||
using System.Collections.Specialized;
|
||||
using System.Data;
|
||||
using System.Web.Mvc;
|
||||
|
||||
namespace Yavsc.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// I module.
|
||||
/// </summary>
|
||||
public interface IModule
|
||||
{
|
||||
/// <summary>
|
||||
/// Install the model in database using the specified cnx.
|
||||
/// </summary>
|
||||
/// <param name="cnx">Cnx.</param>
|
||||
void Install(IDbConnection cnx);
|
||||
/// <summary>
|
||||
/// Uninstall the module data and data model from
|
||||
/// database, using the specified connection.
|
||||
/// </summary>
|
||||
/// <param name="cnx">Cnx.</param>
|
||||
/// <param name="removeConfig">If set to <c>true</c> remove config.</param>
|
||||
void Uninstall(IDbConnection cnx, bool removeConfig);
|
||||
/// <summary>
|
||||
/// Initialize this object using the specified name and config.
|
||||
/// </summary>
|
||||
/// <param name="name">Name.</param>
|
||||
/// <param name="config">Config.</param>
|
||||
void Initialize (string name, NameValueCollection config);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in a new issue