/*
* Namespace Summary
* Copyright (C) 2005+ Bogdan Damian Constantin
* E-Mail: damianbcpetro@gmail.com
* WEB: http://www.sourceforge.net/projects/dataholder
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License 2.1 or later, as
* published by the Free Software Foundation. See the included License.txt
* or http://www.gnu.org/copyleft/lesser.html for details.
*
*/
using System;
using DataHolder.Containers;
namespace DataHolder.DataPersistence.DBAProvider{
/// <summary>
/// Summary description for BaseOnPersistAction.
/// </summary>
public abstract class BaseOnPersistAction
{
public abstract Type CoveredType
{
get;
}
public virtual void OnBeforeSaveEntity(System.Data.IDbConnection conn, System.Data.IDbTransaction tran, DatabasePersistor persistor, CommandProvider cmdProvider,
GenericData ge, GenericDataPropertiesHolder gdph, object PersistenceInfo){}
public virtual void OnBeforeInsert(System.Data.IDbConnection conn, System.Data.IDbTransaction tran, DatabasePersistor persistor, CommandProvider cmdProvider,
GenericData ge, GenericDataPropertiesHolder gdph, object PersistenceInfo){}
public virtual void OnBeforeUpdate(System.Data.IDbConnection conn, System.Data.IDbTransaction tran, DatabasePersistor persistor, CommandProvider cmdProvider,
GenericData ge, GenericDataPropertiesHolder gdph, object PersistenceInfo){}
public virtual void OnBeforeDelete(System.Data.IDbConnection conn, System.Data.IDbTransaction tran, DatabasePersistor persistor, CommandProvider cmdProvider,
GenericData ge, GenericDataPropertiesHolder gdph, object PersistenceInfo){}
public virtual void OnAfterInsert(System.Data.IDbConnection conn, System.Data.IDbTransaction tran, DatabasePersistor persistor, CommandProvider cmdProvider,
GenericData ge, GenericDataPropertiesHolder gdph, object PersistenceInfo){}
public virtual void OnAfterUpdate(System.Data.IDbConnection conn, System.Data.IDbTransaction tran, DatabasePersistor persistor, CommandProvider cmdProvider,
GenericData ge, GenericDataPropertiesHolder gdph, object PersistenceInfo){}
public virtual void OnAfterDelete(System.Data.IDbConnection conn, System.Data.IDbTransaction tran, DatabasePersistor persistor, CommandProvider cmdProvider,
GenericData ge, GenericDataPropertiesHolder gdph, object PersistenceInfo){}
public virtual void OnAfterLoad(System.Data.IDbConnection conn, System.Data.IDbTransaction tran, DatabasePersistor persistor, CommandProvider cmdProvider,
GenericData ge, GenericDataPropertiesHolder gdph, object PersistenceInfo){}
}
}
|