QuickObjects.ObjectBase Send comments on this topic.
Average Method
See Also 
Akal.QuickObjects.ObjectBase Namespace > BaseBusinessObject Class : Average Method
field

Average

Gets the average value of the passed in field from the database that match the criteria (if any provided). The value is returned in the same field object.

This method will in addition set the AffectedRecords property with the number of records returned by this method.

If the ObjectState is Disconnected this method will return false.

Returns:
Type
System.Boolean

Syntax

C# 
public bool Average( 
   ref BaseField field
)

Parameters

field

Requirements

Target Platforms: .NET Framework 1.1 or .NET Framework 2.0

See Also