public class DbCommand extends Component
.NET documentation at https://learn.microsoft.com/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 org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DbCommand() |
DbCommand(java.lang.Object instance)
Internal constructor.
|
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 static org.mases.jcobridge.JCType classType
JCTypepublic 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 Task_1 ExecuteNonQueryAsync() throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, MissingMethodException, TargetInvocationException, SecurityException, ArgumentOutOfRangeException, NullReferenceException, ObjectDisposedException
public Task_1 ExecuteNonQueryAsync(CancellationToken cancellationToken) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, MissingMethodException, TargetInvocationException, SecurityException, ArgumentOutOfRangeException, NullReferenceException, ObjectDisposedException
public DbDataReader ExecuteReader() throws java.lang.Throwable
java.lang.Throwablepublic DbDataReader ExecuteReader(CommandBehavior behavior) throws java.lang.Throwable
java.lang.Throwablepublic Task_1 ExecuteReaderAsync() throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, NullReferenceException, ObjectDisposedException
java.lang.ThrowableInvalidOperationExceptionArgumentNullExceptionArgumentExceptionNullReferenceExceptionObjectDisposedExceptionpublic Task_1 ExecuteReaderAsync(CancellationToken cancellationToken) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, NullReferenceException, ObjectDisposedException
java.lang.ThrowableInvalidOperationExceptionArgumentNullExceptionArgumentExceptionNullReferenceExceptionObjectDisposedExceptionpublic Task_1 ExecuteReaderAsync(CommandBehavior behavior) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, NullReferenceException, ObjectDisposedException
java.lang.ThrowableInvalidOperationExceptionArgumentNullExceptionArgumentExceptionNullReferenceExceptionObjectDisposedExceptionpublic Task_1 ExecuteReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, MissingMethodException, TargetInvocationException, SecurityException, ArgumentOutOfRangeException, NullReferenceException, ObjectDisposedException
public NetObject ExecuteScalar() throws java.lang.Throwable
java.lang.Throwablepublic Task_1 ExecuteScalarAsync() throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, MissingMethodException, TargetInvocationException, SecurityException, ArgumentOutOfRangeException, NullReferenceException, ObjectDisposedException
public Task_1 ExecuteScalarAsync(CancellationToken cancellationToken) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, MissingMethodException, TargetInvocationException, SecurityException, ArgumentOutOfRangeException, NullReferenceException, ObjectDisposedException
public 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 org.mases.jcobridge.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(org.mases.jcobridge.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