Symphony Framework
Read Method
Example 
Symphony.dB Namespace > DBAccess Class : Read Method
Read a row (record) from the table using a key value and a key of reference.
Overload List
OverloadDescription
Read a row (record) from the table using a key value and a key of reference.  
Read a row (record) from the table using a key value and a key of reference.  
Read a row (record) from the table using a key value and a key of reference.  
Example
string itemRecord;
Int32 chan;
Symphony.dB.DBAccess itemAccess = new DBAccess("ITEM", "DATABASE:DatabaseManager");
if (itemAccess.OpenInput(out chan) == DBResponse.DBOK)
{
    switch (itemAccess.Read("BBNC01", 0, out itemRecord))
    {
        case DBResponse.DBOK:
            break;
        case DBResponse.DBNotFound:
            break;
        case DBResponse.DBDuplicateKey:
            break;
        case DBResponse.DBNoCurrentRecord:
            break;
        case DBResponse.DBEOF:
            break;
        case DBResponse.DBLocked:
            break;
        case DBResponse.DBFatal:
            break;
        default:
            break;
    }
}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DBAccess Class
DBAccess Members