public class IDbCommandImplementation extends NetObject implements IDbCommand
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Data.IDbCommand
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.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Data.Common
|
static java.lang.String |
className
Qualified class name: System.Data.IDbCommand
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
IDbCommandImplementation(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Cancel()
Invokes the .NET member Cancel.
|
IDbDataParameter |
CreateParameter()
Invokes the .NET member CreateParameter.
|
void |
Dispose()
Invokes the .NET member Dispose.
|
int |
ExecuteNonQuery()
Invokes the .NET member ExecuteNonQuery.
|
IDataReader |
ExecuteReader()
Invokes the .NET member ExecuteReader.
|
IDataReader |
ExecuteReader(CommandBehavior behavior)
Invokes the .NET member ExecuteReader.
|
NetObject |
ExecuteScalar()
Invokes the .NET member ExecuteScalar.
|
java.lang.String |
getCommandText()
Gets the value of the .NET property CommandText.
|
int |
getCommandTimeout()
Gets the value of the .NET property CommandTimeout.
|
CommandType |
getCommandType()
Gets the value of the .NET property CommandType.
|
IDbConnection |
getConnection()
Gets the value of the .NET property Connection.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
IDataParameterCollection |
getParameters()
Gets the value of the .NET property Parameters.
|
IDbTransaction |
getTransaction()
Gets the value of the .NET property Transaction.
|
UpdateRowSource |
getUpdatedRowSource()
Gets the value of the .NET property UpdatedRowSource.
|
void |
Prepare()
Invokes the .NET member Prepare.
|
void |
setCommandText(java.lang.String CommandText)
Sets the value of the .NET property CommandText.
|
void |
setCommandTimeout(int CommandTimeout)
Sets the value of the .NET property CommandTimeout.
|
void |
setCommandType(CommandType CommandType)
Sets the value of the .NET property CommandType.
|
void |
setConnection(IDbConnection Connection)
Sets the value of the .NET property Connection.
|
void |
setTransaction(IDbTransaction Transaction)
Sets the value of the .NET property Transaction.
|
void |
setUpdatedRowSource(UpdateRowSource UpdatedRowSource)
Sets the value of the .NET property UpdatedRowSource.
|
static IDbCommand |
ToIDbCommand(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into IDbCommand, a cast assert is made to check if types are compatible. |
cast, Equals, Equals, GetHashCode, GetType, hashCode, setJCOInstance, toString, ToStringToIDisposablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public IDbCommandImplementation(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic void Cancel()
throws java.lang.Throwable
Cancel in interface IDbCommandjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic IDbDataParameter CreateParameter() throws java.lang.Throwable
CreateParameter in interface IDbCommandjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Dispose()
throws java.lang.Throwable
Dispose in interface IDisposablejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic int ExecuteNonQuery()
throws java.lang.Throwable
ExecuteNonQuery in interface IDbCommandjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic IDataReader ExecuteReader() throws java.lang.Throwable
ExecuteReader in interface IDbCommandjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic IDataReader ExecuteReader(CommandBehavior behavior) throws java.lang.Throwable
ExecuteReader in interface IDbCommandbehavior - the argument of type CommandBehaviorjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetObject ExecuteScalar() throws java.lang.Throwable
ExecuteScalar in interface IDbCommandjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getCommandText()
throws java.lang.Throwable
getCommandText in interface IDbCommandjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getCommandTimeout()
throws java.lang.Throwable
getCommandTimeout in interface IDbCommandjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic CommandType getCommandType() throws java.lang.Throwable
getCommandType in interface IDbCommandjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic IDbConnection getConnection() throws java.lang.Throwable
getConnection in interface IDbCommandjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IDbCommandgetJCOAssemblyName in interface IDisposablegetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IDbCommandgetJCOClassName in interface IDisposablegetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IDbCommandgetJCOInstance in interface IDisposablegetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IDbCommandgetJCOObjectName in interface IDisposablegetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in interface IDbCommandgetJCOType in interface IDisposablegetJCOType in class NetObjectpublic IDataParameterCollection getParameters() throws java.lang.Throwable
getParameters in interface IDbCommandjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic IDbTransaction getTransaction() throws java.lang.Throwable
getTransaction in interface IDbCommandjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic UpdateRowSource getUpdatedRowSource() throws java.lang.Throwable
getUpdatedRowSource in interface IDbCommandjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Prepare()
throws java.lang.Throwable
Prepare in interface IDbCommandjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setCommandText(java.lang.String CommandText)
throws java.lang.Throwable
setCommandText in interface IDbCommandCommandText - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setCommandTimeout(int CommandTimeout)
throws java.lang.Throwable
setCommandTimeout in interface IDbCommandCommandTimeout - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setCommandType(CommandType CommandType) throws java.lang.Throwable
setCommandType in interface IDbCommandCommandType - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setConnection(IDbConnection Connection) throws java.lang.Throwable
setConnection in interface IDbCommandConnection - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setTransaction(IDbTransaction Transaction) throws java.lang.Throwable
setTransaction in interface IDbCommandTransaction - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setUpdatedRowSource(UpdateRowSource UpdatedRowSource) throws java.lang.Throwable
setUpdatedRowSource in interface IDbCommandUpdatedRowSource - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static IDbCommand ToIDbCommand(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into IDbCommand, a cast assert is made to check if types are compatible.ToIDbCommand in interface IDbCommandfrom - IJCOBridgeReflected instance to be castedIDbCommand instancejava.lang.Throwable - in case of error during cast operation