X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a660d684eda27638bca0384b2058911a31c8e845..645420d872f190409a1451d165aecf98dab22986:/docs/latex/wx/database.tex diff --git a/docs/latex/wx/database.tex b/docs/latex/wx/database.tex index cf155b86ca..2f860c64d1 100644 --- a/docs/latex/wx/database.tex +++ b/docs/latex/wx/database.tex @@ -1,15 +1,26 @@ \section{\class{wxDatabase}}\label{wxdatabase} -Every database object represents an ODBC connection. The connection may be closed and reopened. +Every database object represents an ODBC connection. +The connection may be closed and reopened. -\wxheading{Derivation} +\wxheading{Derived from} \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{See also} \overview{wxDatabase overview}{wxdatabaseoverview}, \helpref{wxRecordSet}{wxrecordset} +A much more robust and feature-rich set of ODBC classes is now +available and recommended for use in place of the wxDatabase class. + +See details of these classes in: +\helpref{wxDb}{wxdb}, \helpref{wxDbTable}{wxdbtable} + \latexignore{\rtfignore{\wxheading{Members}}} \membersection{wxDatabase::wxDatabase} @@ -91,7 +102,7 @@ Returns the name of the database associated with the current connection. \func{wxString}{GetDataSource}{\void} Returns the name of the connected data source. - + \membersection{wxDatabase::GetErrorClass} \func{wxString}{GetErrorClass}{\void} @@ -141,7 +152,7 @@ Returns the current ODBC database handle. \func{HENV}{GetHENV}{\void} Returns the ODBC environment handle. - + \membersection{wxDatabase::GetInfo} \func{bool}{GetInfo}{\param{long}{ infoType}, \param{long *}{buf}} @@ -219,7 +230,7 @@ source. The parameters exclusive and readOnly are not used. \func{void}{OnSetOptions}{\param{wxRecordSet *}{recordSet}} Not implemented. - + \membersection{wxDatabase::OnWaitForDataSource} \func{void}{OnWaitForDataSource}{\param{bool}{ stillExecuting}} @@ -237,13 +248,13 @@ Sends a rollback to the ODBC driver. Not implemented. \func{void}{SetDataSource}{\param{const wxString\& }{s}} Sets the name of the data source. Not implemented. - + \membersection{wxDatabase::SetLoginTimeout} \func{void}{SetLoginTimeout}{\param{long}{ seconds}} Sets the time to wait for an user login. Not implemented. - + \membersection{wxDatabase::SetPassword} \func{void}{SetPassword}{\param{const wxString\& }{s}} @@ -262,7 +273,7 @@ mode is supported, so this function has no effect. \func{void}{SetQueryTimeout}{\param{long}{ seconds}} Sets the time to wait for a response to a query. Not implemented. - + \membersection{wxDatabase::SetUsername} \func{void}{SetUsername}{\param{const wxString\& }{s}}