public class OdbcCommand extends DbCommand
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Data.Odbc.OdbcCommand
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Data
|
static java.lang.String |
className
Qualified class name: System.Data.Odbc.OdbcCommand
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
OdbcCommand() |
OdbcCommand(java.lang.Object instance)
Internal constructor.
|
OdbcCommand(java.lang.String cmdText) |
OdbcCommand(java.lang.String cmdText,
OdbcConnection connection) |
OdbcCommand(java.lang.String cmdText,
OdbcConnection connection,
OdbcTransaction transaction) |
| Modifier and Type | Method and Description |
|---|---|
void |
Cancel() |
static OdbcCommand |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into OdbcCommand, a cast assert is made to check if types are compatible. |
OdbcParameter |
CreateParameterNewOdbcCommand() |
int |
ExecuteNonQuery() |
OdbcDataReader |
ExecuteReaderNewOdbcCommand() |
OdbcDataReader |
ExecuteReaderNewOdbcCommand(CommandBehavior behavior) |
NetObject |
ExecuteScalar() |
OdbcConnection |
getConnectionNewOdbcCommand() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
org.mases.jcobridge.JCType |
getJCOType()
Returns the instantiated class Type
|
OdbcParameterCollection |
getParametersNewOdbcCommand() |
OdbcTransaction |
getTransactionNewOdbcCommand() |
void |
Prepare() |
void |
ResetCommandTimeout() |
void |
setConnection(OdbcConnection Connection) |
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
void |
setTransaction(OdbcTransaction Transaction) |
CreateParameter, ExecuteNonQueryAsync, ExecuteNonQueryAsync, ExecuteReader, ExecuteReader, ExecuteReaderAsync, ExecuteReaderAsync, ExecuteReaderAsync, ExecuteReaderAsync, ExecuteScalarAsync, ExecuteScalarAsync, getCommandText, getCommandTimeout, getCommandType, getConnection, getDesignTimeVisible, getParameters, getTransaction, getUpdatedRowSource, setCommandText, setCommandTimeout, setCommandType, setConnection, setDesignTimeVisible, setTransaction, setUpdatedRowSourceaddDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteCreateObjRef, GetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public static org.mases.jcobridge.JCType classType
JCTypepublic OdbcCommand()
throws java.lang.Throwable,
ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic OdbcCommand(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic OdbcCommand(java.lang.String cmdText)
throws java.lang.Throwable,
ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic OdbcCommand(java.lang.String cmdText,
OdbcConnection connection)
throws java.lang.Throwable,
ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic OdbcCommand(java.lang.String cmdText,
OdbcConnection connection,
OdbcTransaction transaction)
throws java.lang.Throwable,
ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic void Cancel()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
OutOfMemoryException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException
Cancel in class DbCommandjava.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionpublic static OdbcCommand cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into OdbcCommand, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedOdbcCommand instancejava.lang.Throwable - in case of error during cast operationpublic OdbcParameter CreateParameterNewOdbcCommand() throws java.lang.Throwable
java.lang.Throwablepublic int ExecuteNonQuery()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
OutOfMemoryException,
FormatException,
OverflowException,
SqlNullValueException,
InvalidCastException,
NotSupportedException,
AccessViolationException
ExecuteNonQuery in class DbCommandjava.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionOutOfMemoryExceptionFormatExceptionOverflowExceptionSqlNullValueExceptionInvalidCastExceptionNotSupportedExceptionAccessViolationExceptionpublic OdbcDataReader ExecuteReaderNewOdbcCommand() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, OutOfMemoryException, OverflowException, SqlNullValueException, InvalidCastException, CultureNotFoundException, NotSupportedException, AccessViolationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionOverflowExceptionSqlNullValueExceptionInvalidCastExceptionCultureNotFoundExceptionNotSupportedExceptionAccessViolationExceptionpublic OdbcDataReader ExecuteReaderNewOdbcCommand(CommandBehavior behavior) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, FormatException, OverflowException, SqlNullValueException, InvalidCastException, NotSupportedException, AccessViolationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionOutOfMemoryExceptionFormatExceptionOverflowExceptionSqlNullValueExceptionInvalidCastExceptionNotSupportedExceptionAccessViolationExceptionpublic NetObject ExecuteScalar() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, FormatException, OverflowException, SqlNullValueException, InvalidCastException, NotSupportedException, AccessViolationException
ExecuteScalar in class DbCommandjava.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionOutOfMemoryExceptionFormatExceptionOverflowExceptionSqlNullValueExceptionInvalidCastExceptionNotSupportedExceptionAccessViolationExceptionpublic OdbcConnection getConnectionNewOdbcCommand() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class DbCommandString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class DbCommandString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class DbCommandObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class DbCommandString representing the name used to allocated the object
in CLR contextpublic org.mases.jcobridge.JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class DbCommandJCType representing the CLR Type of the instantiated Classpublic OdbcParameterCollection getParametersNewOdbcCommand() throws java.lang.Throwable
java.lang.Throwablepublic OdbcTransaction getTransactionNewOdbcCommand() throws java.lang.Throwable
java.lang.Throwablepublic void Prepare()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
OutOfMemoryException
Prepare in class DbCommandjava.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionOutOfMemoryExceptionpublic void ResetCommandTimeout()
throws java.lang.Throwable
java.lang.Throwablepublic void setConnection(OdbcConnection Connection) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class DbCommandpublic void setTransaction(OdbcTransaction Transaction) throws java.lang.Throwable
java.lang.Throwable