Show / Hide Table of Contents

Delegate UpdateField

This delegate is used by the Data layer if it has updated - manipulated - the data in a query, and the client might wish to know.

Namespace: SuperOffice.Data.SQL
Assembly: SoDataBase.dll
Syntax
public delegate void UpdateField(FieldInfo whichField, Parameter newValue);
Parameters
Type Name Description
FieldInfo whichField

FieldInfo taken from the same TableInfo as the query's table(s)

Parameter newValue

The desired new value of the field encapsulated in a parameter.

Remarks

Examples of such changes are soundex generation and registered/last updated. In some cases the client could not care less, while the Row objects do care and need to update their internal variables to correspond to the changes that have been done. Note that you may be called about fields that were NOT part of your original query, and you will be called at least once for each changed field.

Constructors

UpdateField(Object, IntPtr)

Declaration
public UpdateField(object object, IntPtr method)
Parameters
Type Name Description
Object object
IntPtr method

Methods

BeginInvoke(FieldInfo, Parameter, AsyncCallback, Object)

Declaration
public virtual IAsyncResult BeginInvoke(FieldInfo whichField, Parameter newValue, AsyncCallback callback, object object)
Parameters
Type Name Description
FieldInfo whichField
Parameter newValue
AsyncCallback callback
Object object
Returns
Type Description
IAsyncResult

EndInvoke(IAsyncResult)

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

Invoke(FieldInfo, Parameter)

Declaration
public virtual void Invoke(FieldInfo whichField, Parameter newValue)
Parameters
Type Name Description
FieldInfo whichField
Parameter newValue

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