Package system.data
Class IDbCommandImplementation
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.data.IDbCommandImplementation
-
- All Implemented Interfaces:
IJCOBridgeReflected
,IDbCommand
,IDisposable
public class IDbCommandImplementation extends NetObject implements IDbCommand
The base .NET class managing System.Data.IDbCommand, System.Data.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.IDbCommand
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Data.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Data.Commonstatic java.lang.String
className
Qualified class name: System.Data.IDbCommandstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description IDbCommandImplementation(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
Cancel()
IDbDataParameter
CreateParameter()
void
Dispose()
int
ExecuteNonQuery()
IDataReader
ExecuteReader()
IDataReader
ExecuteReader(CommandBehavior behavior)
NetObject
ExecuteScalar()
java.lang.String
getCommandText()
int
getCommandTimeout()
CommandType
getCommandType()
IDbConnection
getConnection()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeIDataParameterCollection
getParameters()
IDbTransaction
getTransaction()
UpdateRowSource
getUpdatedRowSource()
void
Prepare()
void
setCommandText(java.lang.String CommandText)
void
setCommandTimeout(int CommandTimeout)
void
setCommandType(CommandType CommandType)
void
setConnection(IDbConnection Connection)
void
setTransaction(IDbTransaction Transaction)
void
setUpdatedRowSource(UpdateRowSource UpdatedRowSource)
static IDbCommand
ToIDbCommand(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoIDbCommand
, a cast assert is made to check if types are compatible.-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
cast, Equals, Equals, GetHashCode, GetType, hashCode, setJCOInstance, toString, ToString
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Data.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Data.Common- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Data.IDbCommand- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIDbCommand
- Specified by:
getJCOAssemblyName
in interfaceIDisposable
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIDbCommand
- Specified by:
getJCOClassName
in interfaceIDisposable
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIDbCommand
- Specified by:
getJCOObjectName
in interfaceIDisposable
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIDbCommand
- Specified by:
getJCOInstance
in interfaceIDisposable
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIDbCommand
- Specified by:
getJCOType
in interfaceIDisposable
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
ToIDbCommand
public static IDbCommand ToIDbCommand(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoIDbCommand
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
IDbCommand
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
ExecuteNonQuery
public int ExecuteNonQuery() throws java.lang.Throwable
- Specified by:
ExecuteNonQuery
in interfaceIDbCommand
- Throws:
java.lang.Throwable
-
ExecuteReader
public IDataReader ExecuteReader() throws java.lang.Throwable
- Specified by:
ExecuteReader
in interfaceIDbCommand
- Throws:
java.lang.Throwable
-
ExecuteReader
public IDataReader ExecuteReader(CommandBehavior behavior) throws java.lang.Throwable
- Specified by:
ExecuteReader
in interfaceIDbCommand
- Throws:
java.lang.Throwable
-
CreateParameter
public IDbDataParameter CreateParameter() throws java.lang.Throwable
- Specified by:
CreateParameter
in interfaceIDbCommand
- Throws:
java.lang.Throwable
-
ExecuteScalar
public NetObject ExecuteScalar() throws java.lang.Throwable
- Specified by:
ExecuteScalar
in interfaceIDbCommand
- Throws:
java.lang.Throwable
-
Cancel
public void Cancel() throws java.lang.Throwable
- Specified by:
Cancel
in interfaceIDbCommand
- Throws:
java.lang.Throwable
-
Dispose
public void Dispose() throws java.lang.Throwable
- Specified by:
Dispose
in interfaceIDisposable
- Throws:
java.lang.Throwable
-
Prepare
public void Prepare() throws java.lang.Throwable
- Specified by:
Prepare
in interfaceIDbCommand
- Throws:
java.lang.Throwable
-
getCommandTimeout
public int getCommandTimeout() throws java.lang.Throwable
- Specified by:
getCommandTimeout
in interfaceIDbCommand
- Throws:
java.lang.Throwable
-
setCommandTimeout
public void setCommandTimeout(int CommandTimeout) throws java.lang.Throwable
- Specified by:
setCommandTimeout
in interfaceIDbCommand
- Throws:
java.lang.Throwable
-
getCommandType
public CommandType getCommandType() throws java.lang.Throwable
- Specified by:
getCommandType
in interfaceIDbCommand
- Throws:
java.lang.Throwable
-
setCommandType
public void setCommandType(CommandType CommandType) throws java.lang.Throwable
- Specified by:
setCommandType
in interfaceIDbCommand
- Throws:
java.lang.Throwable
-
getParameters
public IDataParameterCollection getParameters() throws java.lang.Throwable
- Specified by:
getParameters
in interfaceIDbCommand
- Throws:
java.lang.Throwable
-
getConnection
public IDbConnection getConnection() throws java.lang.Throwable
- Specified by:
getConnection
in interfaceIDbCommand
- Throws:
java.lang.Throwable
-
setConnection
public void setConnection(IDbConnection Connection) throws java.lang.Throwable
- Specified by:
setConnection
in interfaceIDbCommand
- Throws:
java.lang.Throwable
-
getTransaction
public IDbTransaction getTransaction() throws java.lang.Throwable
- Specified by:
getTransaction
in interfaceIDbCommand
- Throws:
java.lang.Throwable
-
setTransaction
public void setTransaction(IDbTransaction Transaction) throws java.lang.Throwable
- Specified by:
setTransaction
in interfaceIDbCommand
- Throws:
java.lang.Throwable
-
getUpdatedRowSource
public UpdateRowSource getUpdatedRowSource() throws java.lang.Throwable
- Specified by:
getUpdatedRowSource
in interfaceIDbCommand
- Throws:
java.lang.Throwable
-
setUpdatedRowSource
public void setUpdatedRowSource(UpdateRowSource UpdatedRowSource) throws java.lang.Throwable
- Specified by:
setUpdatedRowSource
in interfaceIDbCommand
- Throws:
java.lang.Throwable
-
getCommandText
public java.lang.String getCommandText() throws java.lang.Throwable
- Specified by:
getCommandText
in interfaceIDbCommand
- Throws:
java.lang.Throwable
-
setCommandText
public void setCommandText(java.lang.String CommandText) throws java.lang.Throwable
- Specified by:
setCommandText
in interfaceIDbCommand
- Throws:
java.lang.Throwable
-
-