Show / Hide Table of Contents

Delegate SoftTrigger.OnChange

Delegate implemented by subscribers to be notified on changes in the database taking place.

Namespace: SuperOfficeData
Assembly: SoDataBase.dll
Syntax
public delegate void SoftTrigger.OnChange(SoTable table, SqlType sqlType, int primaryKey, PrivateSave save, SqlCommand orgSqlCommandInner)
Parameters
Type Name Description
SoTable table

Table in the database being modified.

SqlType sqlType

Type of modification.

int primaryKey

Primary key of the row being modified.

PrivateSave save

The actual command being sent to the database.

SqlCommand orgSqlCommandInner

The original command this change is a part of. BatchSave commands are expanded to it's acutal sql command.

Constructors

OnChange(object, IntPtr)

Declaration
public OnChange(object @object, IntPtr method)
Parameters
Type Name Description
object object
IntPtr method

Methods

BeginInvoke(SoTable, SqlType, int, PrivateSave, SqlCommand, AsyncCallback, object)

Declaration
public virtual IAsyncResult BeginInvoke(SoTable table, SqlType sqlType, int primaryKey, PrivateSave save, SqlCommand orgSqlCommandInner, AsyncCallback callback, object @object)
Parameters
Type Name Description
SoTable table
SqlType sqlType
int primaryKey
PrivateSave save
SqlCommand orgSqlCommandInner
AsyncCallback callback
object object
Returns
Type Description
IAsyncResult

EndInvoke(IAsyncResult)

Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
Type Name Description
IAsyncResult result

Invoke(SoTable, SqlType, int, PrivateSave, SqlCommand)

Declaration
public virtual void Invoke(SoTable table, SqlType sqlType, int primaryKey, PrivateSave save, SqlCommand orgSqlCommandInner)
Parameters
Type Name Description
SoTable table
SqlType sqlType
int primaryKey
PrivateSave save
SqlCommand orgSqlCommandInner

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top