C# Class Qyoto.QSqlDriver

Inheritance: QObject
显示文件 Open project: 0xd34df00d/Qross Class Usage Examples

Public Methods

Method Description
IsIdentifierEscaped ( string identifier, QSqlDriver type ) : bool
IsOpenError ( ) : bool
LastError ( ) : Qyoto.QSqlError
NumericalPrecisionPolicy ( ) : QSql.NumericalPrecisionPolicy
QSqlDriver ( QObject parent ) : System
SetNumericalPrecisionPolicy ( QSql precisionPolicy ) : void
StripDelimiters ( string identifier, QSqlDriver type ) : string
SubscribeToNotification ( string name ) : bool
SubscribedToNotifications ( ) : List
Tr ( string s ) : string
Tr ( string s, string c ) : string
UnsubscribeFromNotification ( string name ) : bool

Protected Methods

Method Description
CreateProxy ( ) : void
QSqlDriver ( Type dummy ) : System

Private Methods

Method Description
BeginTransaction ( ) : bool
Close ( ) : void
CommitTransaction ( ) : bool
CreateResult ( ) : QSqlResult
EscapeIdentifier ( string identifier, QSqlDriver type ) : string
FormatValue ( Qyoto.QSqlField field ) : string
FormatValue ( Qyoto.QSqlField field, bool trimStrings ) : string
HasFeature ( QSqlDriver f ) : bool
IsIdentifierEscapedImplementation ( string identifier, QSqlDriver type ) : bool
IsOpen ( ) : bool
Open ( string db, string user, string password, string host, int port, string connOpts ) : bool
PrimaryIndex ( string tableName ) : Qyoto.QSqlIndex
QSqlDriver ( ) : System
Record ( string tableName ) : Qyoto.QSqlRecord
RollbackTransaction ( ) : bool
SetLastError ( Qyoto.QSqlError e ) : void
SetOpen ( bool o ) : void
SetOpenError ( bool e ) : void
SqlStatement ( QSqlDriver type, string tableName, Qyoto.QSqlRecord rec, bool preparedStatement ) : string
StripDelimitersImplementation ( string identifier, QSqlDriver type ) : string
SubscribeToNotificationImplementation ( string name ) : bool
SubscribedToNotificationsImplementation ( ) : List
Tables ( QSql tableType ) : List
UnsubscribeFromNotificationImplementation ( string name ) : bool

Method Details

CreateProxy() protected method

protected CreateProxy ( ) : void
return void

IsIdentifierEscaped() public method

public IsIdentifierEscaped ( string identifier, QSqlDriver type ) : bool
identifier string
type QSqlDriver
return bool

IsOpenError() public method

public IsOpenError ( ) : bool
return bool

LastError() public method

public LastError ( ) : Qyoto.QSqlError
return Qyoto.QSqlError

NumericalPrecisionPolicy() public method

public NumericalPrecisionPolicy ( ) : QSql.NumericalPrecisionPolicy
return QSql.NumericalPrecisionPolicy

QSqlDriver() public method

public QSqlDriver ( QObject parent ) : System
parent QObject
return System

QSqlDriver() protected method

protected QSqlDriver ( Type dummy ) : System
dummy System.Type
return System

SetNumericalPrecisionPolicy() public method

public SetNumericalPrecisionPolicy ( QSql precisionPolicy ) : void
precisionPolicy QSql
return void

StripDelimiters() public method

public StripDelimiters ( string identifier, QSqlDriver type ) : string
identifier string
type QSqlDriver
return string

SubscribeToNotification() public method

public SubscribeToNotification ( string name ) : bool
name string
return bool

SubscribedToNotifications() public method

public SubscribedToNotifications ( ) : List
return List

Tr() public static method

public static Tr ( string s ) : string
s string
return string

Tr() public static method

public static Tr ( string s, string c ) : string
s string
c string
return string

UnsubscribeFromNotification() public method

public UnsubscribeFromNotification ( string name ) : bool
name string
return bool