public class DbBatch extends NetObject implements java.lang.AutoCloseable
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Data.Common.DbBatch
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=9.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.Common.DbBatch
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DbBatch() |
DbBatch(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Cancel()
Invokes the .NET member Cancel.
|
static DbBatch |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DbBatch, a cast assert is made to check if types are compatible. |
void |
close() |
DbBatchCommand |
CreateBatchCommand()
Invokes the .NET member CreateBatchCommand.
|
void |
Dispose()
Invokes the .NET member Dispose.
|
ValueTask |
DisposeAsync()
Invokes the .NET member DisposeAsync.
|
int |
ExecuteNonQuery()
Invokes the .NET member ExecuteNonQuery.
|
Task_1 |
ExecuteNonQueryAsync(CancellationToken cancellationToken)
Invokes the .NET member ExecuteNonQueryAsync.
|
DbDataReader |
ExecuteReader(CommandBehavior behavior)
Invokes the .NET member ExecuteReader.
|
Task_1 |
ExecuteReaderAsync(CancellationToken cancellationToken)
Invokes the .NET member ExecuteReaderAsync.
|
Task_1 |
ExecuteReaderAsync(CommandBehavior behavior,
CancellationToken cancellationToken)
Invokes the .NET member ExecuteReaderAsync.
|
NetObject |
ExecuteScalar()
Invokes the .NET member ExecuteScalar.
|
Task_1 |
ExecuteScalarAsync(CancellationToken cancellationToken)
Invokes the .NET member ExecuteScalarAsync.
|
DbBatchCommandCollection |
getBatchCommands()
Gets the value of the .NET property BatchCommands.
|
DbConnection |
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. |
int |
getTimeout()
Gets the value of the .NET property Timeout.
|
DbTransaction |
getTransaction()
Gets the value of the .NET property Transaction.
|
void |
Prepare()
Invokes the .NET member Prepare.
|
Task |
PrepareAsync(CancellationToken cancellationToken)
Invokes the .NET member PrepareAsync.
|
void |
setConnection(DbConnection Connection)
Sets the value of the .NET property Connection.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setTimeout(int Timeout)
Sets the value of the .NET property Timeout.
|
void |
setTransaction(DbTransaction Transaction)
Sets the value of the .NET property Transaction.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public DbBatch()
throws java.lang.Throwable
java.lang.Throwablepublic DbBatch(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
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static DbBatch cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DbBatch, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDbBatch instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic DbBatchCommand CreateBatchCommand() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Dispose()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic ValueTask DisposeAsync() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int ExecuteNonQuery()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Task_1 ExecuteNonQueryAsync(CancellationToken cancellationToken) throws java.lang.Throwable
cancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic DbDataReader ExecuteReader(CommandBehavior behavior) throws java.lang.Throwable
behavior - the argument of type CommandBehaviorjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic Task_1 ExecuteReaderAsync(CancellationToken cancellationToken) throws java.lang.Throwable
cancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic Task_1 ExecuteReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) throws java.lang.Throwable
behavior - the argument of type CommandBehaviorcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetObject ExecuteScalar() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Task_1 ExecuteScalarAsync(CancellationToken cancellationToken) throws java.lang.Throwable
cancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic DbBatchCommandCollection getBatchCommands() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DbConnection getConnection() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic int getTimeout()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DbTransaction getTransaction() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Prepare()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Task PrepareAsync(CancellationToken cancellationToken) throws java.lang.Throwable
cancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setConnection(DbConnection Connection) throws java.lang.Throwable
Connection - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void setTimeout(int Timeout)
throws java.lang.Throwable
Timeout - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setTransaction(DbTransaction Transaction) throws java.lang.Throwable
Transaction - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR