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)

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.

Declaration
public UpdateField(object @object, IntPtr method)
Parameters
Type Name Description
object object
IntPtr method
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.

Methods

BeginInvoke(FieldInfo, Parameter, AsyncCallback, object)

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.

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
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.

EndInvoke(IAsyncResult)

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.

Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
Type Name Description
IAsyncResult result
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.

Invoke(FieldInfo, Parameter)

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.

Declaration
public virtual void Invoke(FieldInfo whichField, Parameter newValue)
Parameters
Type Name Description
FieldInfo whichField
Parameter newValue
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.

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