C# Class BF2Statistics.ASP.StatsProcessor.AwardCriteria

The award criteria struct is used to define the query details used when determining if a player has met the requirements to earn an award. This object is used by the "BackendAward" object.
Mostra file Open project: BF2Statistics/ControlCenter Class Usage Examples

Public Properties

Property Type Description
ExpectedResult int
Field string
Table string
Where string

Public Methods

Method Description
AwardCriteria ( string Table, string Field, int ExpectedResult, string Where )

Constructor.

Method Details

AwardCriteria() public method

Constructor.
public AwardCriteria ( string Table, string Field, int ExpectedResult, string Where )
Table string The table name
Field string The field (column name)
ExpectedResult int /// The expected result. If the result matches this result, /// the criteria is considered met ///
Where string The where statement when running the query

Property Details

ExpectedResult public_oe property

The expected result of the query. If the result of the query matches this, or is greater, then the criteria is considered met.
public int ExpectedResult
return int

Field public_oe property

The field (or columns) to run the query on
public string Field
return string

Table public_oe property

The table to run the qyery
public string Table
return string

Where public_oe property

The where statement to use when running the query
public string Where
return string