public class DbCommand extends Component
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.Common.DbCommand
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.Common.DbCommand
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DbCommand() |
DbCommand(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Cancel() |
static DbCommand |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DbCommand, a cast assert is made to check if types are compatible. |
DbParameter |
CreateParameter() |
int |
ExecuteNonQuery() |
DbDataReader |
ExecuteReader() |
DbDataReader |
ExecuteReader(CommandBehavior behavior) |
NetObject |
ExecuteScalar() |
java.lang.String |
getCommandText() |
int |
getCommandTimeout() |
CommandType |
getCommandType() |
DbConnection |
getConnection() |
boolean |
getDesignTimeVisible() |
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
|
JCType |
getJCOType()
Returns the instantiated class Type
|
DbParameterCollection |
getParameters() |
DbTransaction |
getTransaction() |
UpdateRowSource |
getUpdatedRowSource() |
void |
Prepare() |
void |
setCommandText(java.lang.String CommandText) |
void |
setCommandTimeout(int CommandTimeout) |
void |
setCommandType(CommandType CommandType) |
void |
setConnection(DbConnection Connection) |
void |
setDesignTimeVisible(boolean DesignTimeVisible) |
void |
setJCOInstance(JCObject instance) |
void |
setTransaction(DbTransaction Transaction) |
void |
setUpdatedRowSource(UpdateRowSource UpdatedRowSource) |
addDisposed, 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 DbCommand()
throws java.lang.Throwable
java.lang.Throwablepublic DbCommand(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void Cancel()
throws java.lang.Throwable
java.lang.Throwablepublic static DbCommand cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DbCommand, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDbCommand instancejava.lang.Throwable - in case of error during cast operationpublic DbParameter CreateParameter() throws java.lang.Throwable
java.lang.Throwablepublic int ExecuteNonQuery()
throws java.lang.Throwable
java.lang.Throwablepublic DbDataReader ExecuteReader() throws java.lang.Throwable
java.lang.Throwablepublic DbDataReader ExecuteReader(CommandBehavior behavior) throws java.lang.Throwable
java.lang.Throwablepublic NetObject ExecuteScalar() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getCommandText()
throws java.lang.Throwable
java.lang.Throwablepublic int getCommandTimeout()
throws java.lang.Throwable
java.lang.Throwablepublic CommandType getCommandType() throws java.lang.Throwable
java.lang.Throwablepublic DbConnection getConnection() throws java.lang.Throwable
java.lang.Throwablepublic boolean getDesignTimeVisible()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ComponentString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ComponentString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ComponentObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ComponentString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class ComponentJCType representing the CLR Type of the instantiated Classpublic DbParameterCollection getParameters() throws java.lang.Throwable
java.lang.Throwablepublic DbTransaction getTransaction() throws java.lang.Throwable
java.lang.Throwablepublic UpdateRowSource getUpdatedRowSource() throws java.lang.Throwable
java.lang.Throwablepublic void Prepare()
throws java.lang.Throwable
java.lang.Throwablepublic void setCommandText(java.lang.String CommandText)
throws java.lang.Throwable
java.lang.Throwablepublic void setCommandTimeout(int CommandTimeout)
throws java.lang.Throwable
java.lang.Throwablepublic void setCommandType(CommandType CommandType) throws java.lang.Throwable
java.lang.Throwablepublic void setConnection(DbConnection Connection) throws java.lang.Throwable
java.lang.Throwablepublic void setDesignTimeVisible(boolean DesignTimeVisible)
throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class Componentpublic void setTransaction(DbTransaction Transaction) throws java.lang.Throwable
java.lang.Throwablepublic void setUpdatedRowSource(UpdateRowSource UpdatedRowSource) throws java.lang.Throwable
java.lang.Throwable