Package system.data.common
Class DbDataAdapter
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.componentmodel.Component
-
- system.data.common.DataAdapter
-
- system.data.common.DbDataAdapter
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected,ICloneable
- Direct Known Subclasses:
OdbcDataAdapter,OleDbDataAdapter,OracleDataAdapter,SqlDataAdapter
public class DbDataAdapter extends DataAdapter implements ICloneable
The base .NET class managing System.Data.Common.DbDataAdapter, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.Common.DbDataAdapter
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, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Datastatic java.lang.StringclassNameQualified class name: System.Data.Common.DbDataAdapterstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description DbDataAdapter()DbDataAdapter(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DbDataAdaptercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoDbDataAdapter, a cast assert is made to check if types are compatible.intFill(int startRecord, int maxRecords, DataTable... dataTables)intFill(DataSet dataSet)intFill(DataSet dataSet, int startRecord, int maxRecords, java.lang.String srcTable)intFill(DataSet dataSet, java.lang.String srcTable)intFill(DataTable dataTable)DataTable[]FillSchema(DataSet dataSet, SchemaType schemaType)DataTable[]FillSchema(DataSet dataSet, SchemaType schemaType, java.lang.String srcTable)DataTableFillSchema(DataTable dataTable, SchemaType schemaType)DbCommandgetDeleteCommand()IDataParameter[]GetFillParameters()DbCommandgetInsertCommand()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 TypeDbCommandgetSelectCommand()intgetUpdateBatchSize()DbCommandgetUpdateCommand()voidsetDeleteCommand(DbCommand DeleteCommand)voidsetInsertCommand(DbCommand InsertCommand)voidsetJCOInstance(JCObject instance)voidsetSelectCommand(DbCommand SelectCommand)voidsetUpdateBatchSize(int UpdateBatchSize)voidsetUpdateCommand(DbCommand UpdateCommand)intUpdate(DataRow[] dataRows)intUpdate(DataSet dataSet)intUpdate(DataSet dataSet, java.lang.String srcTable)intUpdate(DataTable dataTable)-
Methods inherited from class system.data.common.DataAdapter
addFillError, getAcceptChangesDuringFill, getAcceptChangesDuringUpdate, getContinueUpdateOnError, getFillLoadOption, getMissingMappingAction, getMissingSchemaAction, getReturnProviderSpecificTypes, getTableMappings, removeFillError, ResetFillLoadOption, setAcceptChangesDuringFill, setAcceptChangesDuringUpdate, setContinueUpdateOnError, setFillLoadOption, setMissingMappingAction, setMissingSchemaAction, setReturnProviderSpecificTypes, ShouldSerializeAcceptChangesDuringFill, ShouldSerializeFillLoadOption
-
Methods inherited from class system.componentmodel.Component
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSite
-
Methods inherited from class system.MarshalByRefObject
CreateObjRef, GetLifetimeService, InitializeLifetimeService
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.ICloneable
Clone
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Data- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Data.Common.DbDataAdapter- 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 interfaceICloneable- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classDataAdapter- 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 interfaceICloneable- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classDataAdapter- 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 interfaceICloneable- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classDataAdapter- 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 interfaceICloneable- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classDataAdapter- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classDataAdapter
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceICloneable- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classDataAdapter- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static DbDataAdapter cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoDbDataAdapter, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
DbDataAdapterinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Fill
public int Fill(int startRecord, int maxRecords, DataTable... dataTables) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, SqlNullValueException
-
Fill
public int Fill(DataSet dataSet) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, SqlNullValueException
- Overrides:
Fillin classDataAdapter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionNotSupportedExceptionSqlNullValueException
-
Fill
public int Fill(DataSet dataSet, int startRecord, int maxRecords, java.lang.String srcTable) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, SqlNullValueException
-
Fill
public int Fill(DataSet dataSet, java.lang.String srcTable) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, SqlNullValueException
-
Fill
public int Fill(DataTable dataTable) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, SqlNullValueException
-
Update
public int Update(DataRow[] dataRows) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, AbandonedMutexException, NotSupportedException, DataException, KeyNotFoundException, FormatException, OverflowException, InvalidCastException, SqlNullValueException, XmlException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionAbandonedMutexExceptionNotSupportedExceptionDataExceptionKeyNotFoundExceptionFormatExceptionOverflowExceptionInvalidCastExceptionSqlNullValueExceptionXmlException
-
Update
public int Update(DataSet dataSet) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, DataException, KeyNotFoundException, SqlNullValueException, XmlException
- Overrides:
Updatein classDataAdapter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionDataExceptionKeyNotFoundExceptionSqlNullValueExceptionXmlException
-
Update
public int Update(DataSet dataSet, java.lang.String srcTable) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, NotSupportedException, DataException, KeyNotFoundException, OverflowException, SqlNullValueException, XmlException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionNotSupportedExceptionDataExceptionKeyNotFoundExceptionOverflowExceptionSqlNullValueExceptionXmlException
-
Update
public int Update(DataTable dataTable) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, IndexOutOfRangeException, DataException, KeyNotFoundException, OverflowException, SqlNullValueException, XmlException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionIndexOutOfRangeExceptionDataExceptionKeyNotFoundExceptionOverflowExceptionSqlNullValueExceptionXmlException
-
FillSchema
public DataTable FillSchema(DataTable dataTable, SchemaType schemaType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, NotSupportedException, KeyNotFoundException, DataException
-
FillSchema
public DataTable[] FillSchema(DataSet dataSet, SchemaType schemaType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, KeyNotFoundException, DataException
-
FillSchema
public DataTable[] FillSchema(DataSet dataSet, SchemaType schemaType, java.lang.String srcTable) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, KeyNotFoundException, DataException
-
GetFillParameters
public IDataParameter[] GetFillParameters() throws java.lang.Throwable
- Overrides:
GetFillParametersin classDataAdapter- Throws:
java.lang.Throwable
-
getUpdateBatchSize
public int getUpdateBatchSize() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setUpdateBatchSize
public void setUpdateBatchSize(int UpdateBatchSize) throws java.lang.Throwable, NotSupportedException- Throws:
java.lang.ThrowableNotSupportedException
-
getDeleteCommand
public DbCommand getDeleteCommand() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDeleteCommand
public void setDeleteCommand(DbCommand DeleteCommand) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getInsertCommand
public DbCommand getInsertCommand() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setInsertCommand
public void setInsertCommand(DbCommand InsertCommand) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSelectCommand
public DbCommand getSelectCommand() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSelectCommand
public void setSelectCommand(DbCommand SelectCommand) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getUpdateCommand
public DbCommand getUpdateCommand() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setUpdateCommand
public void setUpdateCommand(DbCommand UpdateCommand) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-