Symphony Framework
Delete Method
Example 
Symphony.dB Namespace > DBAccess Class : Delete Method
Delete the last accessed row from the database.
Syntax
public DBResponse Delete()

Return Value

Returns a value indicating the status of the call.
Example
string itemRecord;
Int32 chan;
Symphony.dB.DBAccess itemAccess = new DBAccess("ITEM", "DATABASE:DatabaseManager");
if (itemAccess.OpenUpdate(out chan) == DBResponse.DBOK)
{
    if (itemAccess.Read("BBNC01", 0, out itemRecord) == DBResponse.DBOK)
    {
        itemAccess.Delete();
    }
}
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