Class SoftTrigger.OnChange
Delegate implemented by subscribers to be notified on changes in the database taking place.
Namespace: SuperOffice.Data
Assembly: SoDataBase.dll
Syntax
public sealed class OnChange : MulticastDelegate
Constructors
OnChange(Object, IntPtr)
Delegate implemented by subscribers to be notified on changes in the database taking place.
Declaration
public OnChange(object object, IntPtr method)
Parameters
Type | Name | Description |
---|---|---|
Object | object | |
IntPtr | method |
Methods
BeginInvoke(SoTable, SqlType, Int32, PrivateSave, SqlCommand, AsyncCallback, Object)
Delegate implemented by subscribers to be notified on changes in the database taking place.
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 | |
Int32 | primaryKey | |
PrivateSave | save | |
SqlCommand | orgSqlCommandInner | |
AsyncCallback | callback | |
Object | object |
Returns
Type | Description |
---|---|
IAsyncResult |
EndInvoke(IAsyncResult)
Delegate implemented by subscribers to be notified on changes in the database taking place.
Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
Type | Name | Description |
---|---|---|
IAsyncResult | result |
Invoke(SoTable, SqlType, Int32, PrivateSave, SqlCommand)
Delegate implemented by subscribers to be notified on changes in the database taking place.
Declaration
public virtual void Invoke(SoTable table, SqlType sqlType, int primaryKey, PrivateSave save, SqlCommand orgSqlCommandInner)
Parameters
Type | Name | Description |
---|---|---|
SoTable | table | |
SqlType | sqlType | |
Int32 | primaryKey | |
PrivateSave | save | |
SqlCommand | orgSqlCommandInner |
Extension Methods
EnumUtil.MapEnums<From, To>(From)