System.Data.Odbc
19 wrapped types. Load them with using { "System.Data.Odbc" }. Click a class to open it.
ODBC32 class static
System.Data.Odbc.ODBC32 · assembly System.Data.Odbc
OdbcCommand class sealed · extends DbCommand
System.Data.Odbc.OdbcCommand · assembly System.Data.Odbc
Implements: IComponent, IDisposable, IDbCommand, IAsyncDisposable, ICloneable
Constructors
new OdbcCommand() |
new OdbcCommand(string cmdText) |
new OdbcCommand(string cmdText, OdbcConnection connection) |
new OdbcCommand(string cmdText, OdbcConnection connection, OdbcTransaction transaction) |
Ring: new OdbcCommand(args) uses one constructor; the others are chosen by the parameter names: new OdbcCommand().@New([ :param = value ]) or dnNew("OdbcCommand",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
CommandText | string | read, write | o.getCommandText() o.setCommandText(v) |
CommandTimeout | int | read, write | o.getCommandTimeout() o.setCommandTimeout(v) |
CommandType | CommandType | read, write | o.getCommandType() o.setCommandType(v) |
Connection | OdbcConnection | read, write | o.getConnection() o.setConnection(v) |
DesignTimeVisible | bool | read, write | o.getDesignTimeVisible() o.setDesignTimeVisible(v) |
Parameters | OdbcParameterCollection | read | o.getParameters() |
Transaction | OdbcTransaction | read, write | o.getTransaction() o.setTransaction(v) |
UpdatedRowSource | UpdateRowSource | read, write | o.getUpdatedRowSource() o.setUpdatedRowSource(v) |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Cancel | callMethod("Cancel",[]) | void Cancel() |
CreateParameter | callMethod("CreateParameter",[]) | OdbcParameter CreateParameter() |
ExecuteNonQuery | callMethod("ExecuteNonQuery",[]) | int ExecuteNonQuery() |
ExecuteReader | ExecuteReader(NULL)ExecuteReader(value)ExecuteReader([ :behavior = … ]) | OdbcDataReader ExecuteReader()OdbcDataReader ExecuteReader(CommandBehavior behavior) |
ExecuteScalar | callMethod("ExecuteScalar",[]) | object ExecuteScalar() |
Prepare | callMethod("Prepare",[]) | void Prepare() |
ResetCommandTimeout | callMethod("ResetCommandTimeout",[]) | void ResetCommandTimeout() |
Members of the base class are inherited.
OdbcCommandBuilder class sealed · extends DbCommandBuilder
System.Data.Odbc.OdbcCommandBuilder · assembly System.Data.Odbc
Implements: IComponent, IDisposable
Constructors
new OdbcCommandBuilder() |
new OdbcCommandBuilder(OdbcDataAdapter adapter) |
Ring: new OdbcCommandBuilder(args) uses one constructor; the others are chosen by the parameter names: new OdbcCommandBuilder().@New([ :param = value ]) or dnNew("OdbcCommandBuilder",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
DataAdapter | OdbcDataAdapter | read, write | o.getDataAdapter() o.setDataAdapter(v) |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
DeriveParameters | DeriveParameters(p1) | static void DeriveParameters(OdbcCommand command) |
GetDeleteCommand | GetDeleteCommand(NULL)GetDeleteCommand(value)GetDeleteCommand([ :useColumnsForParameterNames = … ]) | OdbcCommand GetDeleteCommand()OdbcCommand GetDeleteCommand(bool useColumnsForParameterNames) |
GetInsertCommand | GetInsertCommand(NULL)GetInsertCommand(value)GetInsertCommand([ :useColumnsForParameterNames = … ]) | OdbcCommand GetInsertCommand()OdbcCommand GetInsertCommand(bool useColumnsForParameterNames) |
GetUpdateCommand | GetUpdateCommand(NULL)GetUpdateCommand(value)GetUpdateCommand([ :useColumnsForParameterNames = … ]) | OdbcCommand GetUpdateCommand()OdbcCommand GetUpdateCommand(bool useColumnsForParameterNames) |
QuoteIdentifier | callMethod("QuoteIdentifier",[p1])callMethod("QuoteIdentifier",[p1,p2]) | string QuoteIdentifier(string unquotedIdentifier)string QuoteIdentifier(string unquotedIdentifier, OdbcConnection connection) |
UnquoteIdentifier | callMethod("UnquoteIdentifier",[p1])callMethod("UnquoteIdentifier",[p1,p2]) | string UnquoteIdentifier(string quotedIdentifier)string UnquoteIdentifier(string quotedIdentifier, OdbcConnection connection) |
Members of the base class are inherited.
OdbcConnection class sealed · extends DbConnection
System.Data.Odbc.OdbcConnection · assembly System.Data.Odbc
Implements: IComponent, IDisposable, IDbConnection, IAsyncDisposable, ICloneable
Constructors
new OdbcConnection(string connectionString) |
new OdbcConnection() |
Ring: new OdbcConnection(args) uses one constructor; the others are chosen by the parameter names: new OdbcConnection().@New([ :param = value ]) or dnNew("OdbcConnection",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ConnectionString | string | read, write | o.getConnectionString() o.setConnectionString(v) |
ConnectionTimeout | int | read, write | o.getConnectionTimeout() o.setConnectionTimeout(v) |
Database | string | read | o.getDatabase() |
DataSource | string | read | o.getDataSource() |
ServerVersion | string | read | o.getServerVersion() |
State | ConnectionState | read | o.getState() |
Driver | string | read | o.Driver |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
BeginTransaction | BeginTransaction(NULL)BeginTransaction(value)BeginTransaction([ :isolevel = … ]) | OdbcTransaction BeginTransaction()OdbcTransaction BeginTransaction(IsolationLevel isolevel) |
ChangeDatabase | callMethod("ChangeDatabase",[p1]) | void ChangeDatabase(string value) |
Close | callMethod("Close",[]) | void Close() |
CreateCommand | callMethod("CreateCommand",[]) | OdbcCommand CreateCommand() |
GetSchema | GetSchema(NULL)GetSchema(value)GetSchema([ :collectionName = … ])GetSchema([ :collectionName = …, :restrictionValues = … ]) | DataTable GetSchema()DataTable GetSchema(string collectionName)DataTable GetSchema(string collectionName, string[] restrictionValues) |
Open | callMethod("Open",[]) | void Open() |
ReleaseObjectPool | callMethod("ReleaseObjectPool",[]) | static void ReleaseObjectPool() |
Events
| Event | Handler type | In Ring |
|---|---|---|
InfoMessage | OdbcInfoMessageEventHandler | o.setInfoMessageEvent(code) · o.clearInfoMessageEvent() |
Members of the base class are inherited.
OdbcConnectionStringBuilder class sealed · extends DbConnectionStringBuilder
System.Data.Odbc.OdbcConnectionStringBuilder · assembly System.Data.Odbc
Implements: IDictionary, ICollection, IEnumerable, ICustomTypeDescriptor
Constructors
new OdbcConnectionStringBuilder() |
new OdbcConnectionStringBuilder(string connectionString) |
Ring: new OdbcConnectionStringBuilder(args) uses one constructor; the others are chosen by the parameter names: new OdbcConnectionStringBuilder().@New([ :param = value ]) or dnNew("OdbcConnectionStringBuilder",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Driver | string | read, write | o.Driver o.Driver = v |
Dsn | string | read, write | o.Dsn o.Dsn = v |
Keys | ICollection | read | o.getKeys() |
Indexer
o.Item(string keyword) → object · o.SetItem(keyword,value)
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Clear | callMethod("Clear",[]) | void Clear() |
ContainsKey | callMethod("ContainsKey",[p1]) | bool ContainsKey(string keyword) |
Remove | callMethod("Remove",[p1]) | bool Remove(string keyword) |
TryGetValue | TryGetValue(p1) | bool TryGetValue(string keyword, out object value) |
Members of the base class are inherited.
OdbcDataAdapter class sealed · extends DbDataAdapter
System.Data.Odbc.OdbcDataAdapter · assembly System.Data.Odbc
Implements: IComponent, IDisposable, IDataAdapter, IDbDataAdapter, ICloneable
Constructors
new OdbcDataAdapter() |
new OdbcDataAdapter(OdbcCommand selectCommand) |
new OdbcDataAdapter(string selectCommandText, OdbcConnection selectConnection) |
new OdbcDataAdapter(string selectCommandText, string selectConnectionString) |
Ring: new OdbcDataAdapter(args) uses one constructor; the others are chosen by the parameter names: new OdbcDataAdapter().@New([ :param = value ]) or dnNew("OdbcDataAdapter",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
DeleteCommand | OdbcCommand | read, write | o.getDeleteCommand() o.setDeleteCommand(v) |
InsertCommand | OdbcCommand | read, write | o.getInsertCommand() o.setInsertCommand(v) |
SelectCommand | OdbcCommand | read, write | o.getSelectCommand() o.setSelectCommand(v) |
UpdateCommand | OdbcCommand | read, write | o.getUpdateCommand() o.setUpdateCommand(v) |
Events
| Event | Handler type | In Ring |
|---|---|---|
RowUpdated | OdbcRowUpdatedEventHandler | o.setRowUpdatedEvent(code) · o.clearRowUpdatedEvent() |
RowUpdating | OdbcRowUpdatingEventHandler | o.setRowUpdatingEvent(code) · o.clearRowUpdatingEvent() |
Members of the base class are inherited.
OdbcDataReader class sealed · extends DbDataReader
System.Data.Odbc.OdbcDataReader · assembly System.Data.Odbc
Implements: IDataReader, IDisposable, IDataRecord, IEnumerable, IAsyncDisposable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Depth | int | read | o.getDepth() |
FieldCount | int | read | o.getFieldCount() |
HasRows | bool | read | o.getHasRows() |
IsClosed | bool | read | o.getIsClosed() |
RecordsAffected | int | read | o.getRecordsAffected() |
Indexer
o.Item(int i) → object
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Close | callMethod("Close",[]) | void Close() |
GetBoolean | callMethod("GetBoolean",[p1]) | bool GetBoolean(int i) |
GetByte | callMethod("GetByte",[p1]) | byte GetByte(int i) |
GetBytes | GetBytes(p1,p2,p3,p4,p5) | long GetBytes(int i, long dataIndex, byte[] buffer, int bufferIndex, int length) |
GetChar | callMethod("GetChar",[p1]) | char GetChar(int i) |
GetChars | GetChars(p1,p2,p3,p4,p5) | long GetChars(int i, long dataIndex, char[] buffer, int bufferIndex, int length) |
GetDataTypeName | callMethod("GetDataTypeName",[p1]) | string GetDataTypeName(int i) |
GetDate | callMethod("GetDate",[p1]) | DateTime GetDate(int i) |
GetDateTime | callMethod("GetDateTime",[p1]) | DateTime GetDateTime(int i) |
GetDecimal | callMethod("GetDecimal",[p1]) | decimal GetDecimal(int i) |
GetDouble | callMethod("GetDouble",[p1]) | double GetDouble(int i) |
GetEnumerator | callMethod("GetEnumerator",[]) | IEnumerator GetEnumerator() |
GetFieldType | callMethod("GetFieldType",[p1]) | Type GetFieldType(int i) |
GetFloat | callMethod("GetFloat",[p1]) | float GetFloat(int i) |
GetGuid | callMethod("GetGuid",[p1]) | Guid GetGuid(int i) |
GetInt16 | callMethod("GetInt16",[p1]) | short GetInt16(int i) |
GetInt32 | callMethod("GetInt32",[p1]) | int GetInt32(int i) |
GetInt64 | callMethod("GetInt64",[p1]) | long GetInt64(int i) |
GetName | callMethod("GetName",[p1]) | string GetName(int i) |
GetOrdinal | callMethod("GetOrdinal",[p1]) | int GetOrdinal(string value) |
GetSchemaTable | callMethod("GetSchemaTable",[]) | DataTable GetSchemaTable() |
GetString | callMethod("GetString",[p1]) | string GetString(int i) |
GetTime | callMethod("GetTime",[p1]) | TimeSpan GetTime(int i) |
GetValue | callMethod("GetValue",[p1]) | object GetValue(int i) |
GetValues | GetValues(p1) | int GetValues(object[] values) |
IsDBNull | callMethod("IsDBNull",[p1]) | bool IsDBNull(int i) |
NextResult | callMethod("NextResult",[]) | bool NextResult() |
Read | callMethod("Read",[]) | bool Read() |
Members of the base class are inherited.
OdbcError class sealed
System.Data.Odbc.OdbcError · assembly System.Data.Odbc
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Message | string | read | o.Message |
SQLState | string | read | o.SQLState |
NativeError | int | read | o.NativeError |
Source | string | read | o.Source |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ToString | callMethod("ToString",[]) | string ToString() |
OdbcErrorCollection class sealed
System.Data.Odbc.OdbcErrorCollection · assembly System.Data.Odbc
Implements: ICollection, IEnumerable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.Count |
Indexer
o.Item(int i) → OdbcError
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CopyTo | CopyTo(p1,p2) | void CopyTo(Array array, int i)void CopyTo(OdbcError[] array, int i) |
GetEnumerator | callMethod("GetEnumerator",[]) | IEnumerator GetEnumerator() |
OdbcException class sealed · extends DbException
System.Data.Odbc.OdbcException · assembly System.Data.Odbc
Implements: ISerializable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Errors | OdbcErrorCollection | read | o.Errors |
Source | string | read | o.getSource() |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetObjectData | GetObjectData(p1,p2) | void GetObjectData(SerializationInfo si, StreamingContext context) |
Members of the base class are inherited.
OdbcFactory class sealed · extends DbProviderFactory
System.Data.Odbc.OdbcFactory · assembly System.Data.Odbc
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Instance | OdbcFactory | read · static | o.Instance |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CreateCommand | callMethod("CreateCommand",[]) | DbCommand CreateCommand() |
CreateCommandBuilder | callMethod("CreateCommandBuilder",[]) | DbCommandBuilder CreateCommandBuilder() |
CreateConnection | callMethod("CreateConnection",[]) | DbConnection CreateConnection() |
CreateConnectionStringBuilder | callMethod("CreateConnectionStringBuilder",[]) | DbConnectionStringBuilder CreateConnectionStringBuilder() |
CreateDataAdapter | callMethod("CreateDataAdapter",[]) | DbDataAdapter CreateDataAdapter() |
CreateParameter | callMethod("CreateParameter",[]) | DbParameter CreateParameter() |
Members of the base class are inherited.
OdbcInfoMessageEventArgs class sealed · extends EventArgs
System.Data.Odbc.OdbcInfoMessageEventArgs · assembly System.Data.Odbc
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Errors | OdbcErrorCollection | read | o.Errors |
Message | string | read | o.Message |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ToString | callMethod("ToString",[]) | string ToString() |
Members of the base class are inherited.
OdbcMetaDataCollectionNames class static
System.Data.Odbc.OdbcMetaDataCollectionNames · assembly System.Data.Odbc
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Columns | string | read · static | o.Columns |
Indexes | string | read · static | o.Indexes |
Procedures | string | read · static | o.Procedures |
ProcedureColumns | string | read · static | o.ProcedureColumns |
ProcedureParameters | string | read · static | o.ProcedureParameters |
Tables | string | read · static | o.Tables |
Views | string | read · static | o.Views |
OdbcMetaDataColumnNames class static
System.Data.Odbc.OdbcMetaDataColumnNames · assembly System.Data.Odbc
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
BooleanFalseLiteral | string | read · static | o.BooleanFalseLiteral |
BooleanTrueLiteral | string | read · static | o.BooleanTrueLiteral |
SQLType | string | read · static | o.SQLType |
OdbcParameter class sealed · extends DbParameter
System.Data.Odbc.OdbcParameter · assembly System.Data.Odbc
Implements: IDbDataParameter, IDataParameter, ICloneable
Constructors
new OdbcParameter() |
new OdbcParameter(string name, object value) |
new OdbcParameter(string name, OdbcType type) |
new OdbcParameter(string name, OdbcType type, int size) |
new OdbcParameter(string name, OdbcType type, int size, string sourcecolumn) |
new OdbcParameter(string parameterName, OdbcType odbcType, int size, ParameterDirection parameterDirection, bool isNullable, byte precision, byte scale, string srcColumn, DataRowVersion srcVersion, object value) |
new OdbcParameter(string parameterName, OdbcType odbcType, int size, ParameterDirection parameterDirection, byte precision, byte scale, string sourceColumn, DataRowVersion sourceVersion, bool sourceColumnNullMapping, object value) |
Ring: new OdbcParameter(args) uses one constructor; the others are chosen by the parameter names: new OdbcParameter().@New([ :param = value ]) or dnNew("OdbcParameter",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
DbType | DbType | read, write | o.getDbType() o.setDbType(v) |
OdbcType | OdbcType | read, write | o.OdbcType o.OdbcType = v |
ParameterName | string | read, write | o.getParameterName() o.setParameterName(v) |
Precision | byte | read, write | o.getPrecision() o.setPrecision(v) |
Scale | byte | read, write | o.getScale() o.setScale(v) |
Value | object | read, write | o.getValue() o.setValue(v) |
Direction | ParameterDirection | read, write | o.getDirection() o.setDirection(v) |
IsNullable | bool | read, write | o.getIsNullable() o.setIsNullable(v) |
Offset | int | read, write | o.Offset o.Offset = v |
Size | int | read, write | o.getSize() o.setSize(v) |
SourceColumn | string | read, write | o.getSourceColumn() o.setSourceColumn(v) |
SourceColumnNullMapping | bool | read, write | o.getSourceColumnNullMapping() o.setSourceColumnNullMapping(v) |
SourceVersion | DataRowVersion | read, write | o.getSourceVersion() o.setSourceVersion(v) |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ResetDbType | callMethod("ResetDbType",[]) | void ResetDbType() |
ResetOdbcType | callMethod("ResetOdbcType",[]) | void ResetOdbcType() |
ToString | callMethod("ToString",[]) | string ToString() |
Members of the base class are inherited.
OdbcParameterCollection class sealed · extends DbParameterCollection
System.Data.Odbc.OdbcParameterCollection · assembly System.Data.Odbc
Implements: IDataParameterCollection, IList, ICollection, IEnumerable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.getCount() |
IsFixedSize | bool | read | o.getIsFixedSize() |
IsReadOnly | bool | read | o.getIsReadOnly() |
IsSynchronized | bool | read | o.getIsSynchronized() |
SyncRoot | object | read | o.getSyncRoot() |
Indexer
o.Item(int index) → OdbcParameter · o.SetItem(index,value)
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(value)Add([ :value = … ])Add([ :parameterName = …, :value = … ])Add([ :parameterName = …, :odbcType = … ])Add([ :parameterName = …, :odbcType = …, :size = … ]) | OdbcParameter Add(OdbcParameter value)OdbcParameter Add(string parameterName, object value)OdbcParameter Add(string parameterName, OdbcType odbcType)OdbcParameter Add(string parameterName, OdbcType odbcType, int size)OdbcParameter Add(string parameterName, OdbcType odbcType, int size, string sourceColumn)int Add(object value) |
AddRange | AddRange(p1) | void AddRange(OdbcParameter[] values)void AddRange(Array values) |
AddWithValue | callMethod("AddWithValue",[p1,p2]) | OdbcParameter AddWithValue(string parameterName, object value) |
Clear | callMethod("Clear",[]) | void Clear() |
Contains | Contains(p1) | bool Contains(string value)bool Contains(OdbcParameter value)bool Contains(object value) |
CopyTo | CopyTo(p1,p2) | void CopyTo(OdbcParameter[] array, int index)void CopyTo(Array array, int index) |
GetEnumerator | callMethod("GetEnumerator",[]) | IEnumerator GetEnumerator() |
IndexOf | IndexOf(p1) | int IndexOf(OdbcParameter value)int IndexOf(string parameterName)int IndexOf(object value) |
Insert | Insert(p1,p2) | void Insert(int index, OdbcParameter value)void Insert(int index, object value) |
Remove | Remove(p1) | void Remove(OdbcParameter value)void Remove(object value) |
RemoveAt | callMethod("RemoveAt",[p1]) | void RemoveAt(int index)void RemoveAt(string parameterName) |
Members of the base class are inherited.
OdbcRowUpdatedEventArgs class sealed · extends RowUpdatedEventArgs
System.Data.Odbc.OdbcRowUpdatedEventArgs · assembly System.Data.Odbc
Constructors
new OdbcRowUpdatedEventArgs(DataRow row, IDbCommand command, StatementType statementType, DataTableMapping tableMapping) |
Ring: new OdbcRowUpdatedEventArgs(args) uses one constructor; the others are chosen by the parameter names: new OdbcRowUpdatedEventArgs().@New([ :param = value ]) or dnNew("OdbcRowUpdatedEventArgs",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Command | OdbcCommand | read | o.getCommand() |
Members of the base class are inherited.
OdbcRowUpdatingEventArgs class sealed · extends RowUpdatingEventArgs
System.Data.Odbc.OdbcRowUpdatingEventArgs · assembly System.Data.Odbc
Constructors
new OdbcRowUpdatingEventArgs(DataRow row, IDbCommand command, StatementType statementType, DataTableMapping tableMapping) |
Ring: new OdbcRowUpdatingEventArgs(args) uses one constructor; the others are chosen by the parameter names: new OdbcRowUpdatingEventArgs().@New([ :param = value ]) or dnNew("OdbcRowUpdatingEventArgs",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Command | OdbcCommand | read, write | o.getCommand() o.setCommand(v) |
Members of the base class are inherited.
OdbcTransaction class sealed · extends DbTransaction
System.Data.Odbc.OdbcTransaction · assembly System.Data.Odbc
Implements: IDbTransaction, IDisposable, IAsyncDisposable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Connection | OdbcConnection | read | o.getConnection() |
IsolationLevel | IsolationLevel | read | o.getIsolationLevel() |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Commit | callMethod("Commit",[]) | void Commit() |
Rollback | callMethod("Rollback",[]) | void Rollback() |
Members of the base class are inherited.