Content


NTL
Core
DbConvertTo

DbConvertTo


Describes whether a value can be converted to a value of different type. Each member of the structure is a boolean value indicating whether conversion to the data type is supported or not.

You can find more information in comments below.

struct DbConvertTo
{
    bool Valid; // Indicates whether this structure contains valid data (it was successfully retrieved from data source) 
    bool BigInt;
    bool Binary;
    bool Bit;
    bool Guid;
    bool Char;
    bool Date;
    bool Decimal;
    bool Double;
    bool Float;
    bool Integer;
    bool IntervalYearMonth;
    bool IntervalDayTime;
    bool LongVarBinary;
    bool LongVarChar;
    bool Numeric;
    bool Real;
    bool SmallInt;
    bool Time;
    bool DateTime;
    bool TinyInt;
    bool VarBinary;
    bool VarChar;

    explicit operator String() const;
};
Namespace: nitisa
Include: Nitisa/Db/DbConvertTo.h