Class SupaRecord

Namespace
Subsembly.Supa
Assembly
Subsembly.Sepa.dll

An abstract name/value container representing a single SUPA data record. A SUPA record is basically just a name/value string dictionary.

public abstract class SupaRecord : ISupaRecord
Inheritance
SupaRecord
Implements
Derived
Inherited Members

Methods

GetBool(string)

Gets the named field value from this record as a boolean value. If the field does not exist, then false is returned.

public virtual bool GetBool(string sName)

Parameters

sName string

Returns

bool

GetDate(string)

public virtual DateTime GetDate(string sName)

Parameters

sName string

Returns

DateTime

GetDateTime(string)

public virtual DateTime GetDateTime(string sName)

Parameters

sName string

Returns

DateTime

GetDecimal(string)

public virtual decimal GetDecimal(string sName)

Parameters

sName string

Returns

decimal

GetNumber(string)

public virtual int GetNumber(string sName)

Parameters

sName string

Returns

int

GetValue(string)

Gets the named field value from this record as a formatted string.

public abstract string GetValue(string sName)

Parameters

sName string

Returns

string

HasValue(string)

Indicates whether the record contains a non-null entry for the given field.

public virtual bool HasValue(string sName)

Parameters

sName string

Returns

bool

SetBool(string, bool)

Sets the named field value from the SUPA formatted boolean value.

public virtual void SetBool(string sName, bool fValue)

Parameters

sName string
fValue bool

SetDate(string, DateTime)

public virtual void SetDate(string sName, DateTime tDate)

Parameters

sName string
tDate DateTime

SetDateTime(string, DateTime)

public virtual void SetDateTime(string sName, DateTime tDate)

Parameters

sName string
tDate DateTime

SetDecimal(string, decimal)

public virtual void SetDecimal(string sName, decimal nValue)

Parameters

sName string
nValue decimal

SetNumber(string, int)

public virtual void SetNumber(string sName, int nValue)

Parameters

sName string
nValue int

SetValue(string, string)

Sets the named field value from the SUPA formatted value string.

public abstract void SetValue(string sName, string sValue)

Parameters

sName string
sValue string

See Also