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.StringassemblyFullNameFully assembly qualified name: System.Data.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Data.Commonstatic java.lang.StringclassNameQualified class name: System.Data.IDbCommandstatic JCTypeclassTypeThe 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 voidCancel()IDbDataParameterCreateParameter()voidDispose()intExecuteNonQuery()IDataReaderExecuteReader()IDataReaderExecuteReader(CommandBehavior behavior)NetObjectExecuteScalar()java.lang.StringgetCommandText()intgetCommandTimeout()CommandTypegetCommandType()IDbConnectiongetConnection()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeIDataParameterCollectiongetParameters()IDbTransactiongetTransaction()UpdateRowSourcegetUpdatedRowSource()voidPrepare()voidsetCommandText(java.lang.String CommandText)voidsetCommandTimeout(int CommandTimeout)voidsetCommandType(CommandType CommandType)voidsetConnection(IDbConnection Connection)voidsetTransaction(IDbTransaction Transaction)voidsetUpdatedRowSource(UpdateRowSource UpdatedRowSource)static IDbCommandToIDbCommand(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance 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:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIDbCommand- Specified by:
getJCOAssemblyNamein interfaceIDisposable- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIDbCommand- Specified by:
getJCOClassNamein interfaceIDisposable- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIDbCommand- Specified by:
getJCOObjectNamein interfaceIDisposable- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIDbCommand- Specified by:
getJCOInstancein interfaceIDisposable- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIDbCommand- Specified by:
getJCOTypein interfaceIDisposable- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
ToIDbCommand
public static IDbCommand ToIDbCommand(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoIDbCommand, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
IDbCommandinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
ExecuteNonQuery
public int ExecuteNonQuery() throws java.lang.Throwable- Specified by:
ExecuteNonQueryin interfaceIDbCommand- Throws:
java.lang.Throwable
-
ExecuteReader
public IDataReader ExecuteReader() throws java.lang.Throwable
- Specified by:
ExecuteReaderin interfaceIDbCommand- Throws:
java.lang.Throwable
-
ExecuteReader
public IDataReader ExecuteReader(CommandBehavior behavior) throws java.lang.Throwable
- Specified by:
ExecuteReaderin interfaceIDbCommand- Throws:
java.lang.Throwable
-
CreateParameter
public IDbDataParameter CreateParameter() throws java.lang.Throwable
- Specified by:
CreateParameterin interfaceIDbCommand- Throws:
java.lang.Throwable
-
ExecuteScalar
public NetObject ExecuteScalar() throws java.lang.Throwable
- Specified by:
ExecuteScalarin interfaceIDbCommand- Throws:
java.lang.Throwable
-
Cancel
public void Cancel() throws java.lang.Throwable- Specified by:
Cancelin interfaceIDbCommand- Throws:
java.lang.Throwable
-
Dispose
public void Dispose() throws java.lang.Throwable- Specified by:
Disposein interfaceIDisposable- Throws:
java.lang.Throwable
-
Prepare
public void Prepare() throws java.lang.Throwable- Specified by:
Preparein interfaceIDbCommand- Throws:
java.lang.Throwable
-
getCommandTimeout
public int getCommandTimeout() throws java.lang.Throwable- Specified by:
getCommandTimeoutin interfaceIDbCommand- Throws:
java.lang.Throwable
-
setCommandTimeout
public void setCommandTimeout(int CommandTimeout) throws java.lang.Throwable- Specified by:
setCommandTimeoutin interfaceIDbCommand- Throws:
java.lang.Throwable
-
getCommandType
public CommandType getCommandType() throws java.lang.Throwable
- Specified by:
getCommandTypein interfaceIDbCommand- Throws:
java.lang.Throwable
-
setCommandType
public void setCommandType(CommandType CommandType) throws java.lang.Throwable
- Specified by:
setCommandTypein interfaceIDbCommand- Throws:
java.lang.Throwable
-
getParameters
public IDataParameterCollection getParameters() throws java.lang.Throwable
- Specified by:
getParametersin interfaceIDbCommand- Throws:
java.lang.Throwable
-
getConnection
public IDbConnection getConnection() throws java.lang.Throwable
- Specified by:
getConnectionin interfaceIDbCommand- Throws:
java.lang.Throwable
-
setConnection
public void setConnection(IDbConnection Connection) throws java.lang.Throwable
- Specified by:
setConnectionin interfaceIDbCommand- Throws:
java.lang.Throwable
-
getTransaction
public IDbTransaction getTransaction() throws java.lang.Throwable
- Specified by:
getTransactionin interfaceIDbCommand- Throws:
java.lang.Throwable
-
setTransaction
public void setTransaction(IDbTransaction Transaction) throws java.lang.Throwable
- Specified by:
setTransactionin interfaceIDbCommand- Throws:
java.lang.Throwable
-
getUpdatedRowSource
public UpdateRowSource getUpdatedRowSource() throws java.lang.Throwable
- Specified by:
getUpdatedRowSourcein interfaceIDbCommand- Throws:
java.lang.Throwable
-
setUpdatedRowSource
public void setUpdatedRowSource(UpdateRowSource UpdatedRowSource) throws java.lang.Throwable
- Specified by:
setUpdatedRowSourcein interfaceIDbCommand- Throws:
java.lang.Throwable
-
getCommandText
public java.lang.String getCommandText() throws java.lang.Throwable- Specified by:
getCommandTextin interfaceIDbCommand- Throws:
java.lang.Throwable
-
setCommandText
public void setCommandText(java.lang.String CommandText) throws java.lang.Throwable- Specified by:
setCommandTextin interfaceIDbCommand- Throws:
java.lang.Throwable
-
-