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

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

Table public property

The table to run the qyery
public string Table
return string

Where public property

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