Package system.data.common
Class DataAdapter
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.componentmodel.Component
-
- system.data.common.DataAdapter
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected
- Direct Known Subclasses:
DbDataAdapter
public class DataAdapter extends Component
The base .NET class managing System.Data.Common.DataAdapter, System.Data.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.Common.DataAdapter
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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Data.Commonstatic java.lang.StringclassNameQualified class name: System.Data.Common.DataAdapterstatic org.mases.jcobridge.JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description DataAdapter()DataAdapter(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFillError(FillErrorEventHandler handler)static DataAdaptercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoDataAdapter, a cast assert is made to check if types are compatible.intFill(DataSet dataSet)DataTable[]FillSchema(DataSet dataSet, SchemaType schemaType)booleangetAcceptChangesDuringFill()booleangetAcceptChangesDuringUpdate()booleangetContinueUpdateOnError()LoadOptiongetFillLoadOption()IDataParameter[]GetFillParameters()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 objectorg.mases.jcobridge.JCTypegetJCOType()Returns the instantiated class TypeMissingMappingActiongetMissingMappingAction()MissingSchemaActiongetMissingSchemaAction()booleangetReturnProviderSpecificTypes()DataTableMappingCollectiongetTableMappings()voidremoveFillError(FillErrorEventHandler handler)voidResetFillLoadOption()voidsetAcceptChangesDuringFill(boolean AcceptChangesDuringFill)voidsetAcceptChangesDuringUpdate(boolean AcceptChangesDuringUpdate)voidsetContinueUpdateOnError(boolean ContinueUpdateOnError)voidsetFillLoadOption(LoadOption FillLoadOption)voidsetJCOInstance(org.mases.jcobridge.JCObject instance)voidsetMissingMappingAction(MissingMappingAction MissingMappingAction)voidsetMissingSchemaAction(MissingSchemaAction MissingSchemaAction)voidsetReturnProviderSpecificTypes(boolean ReturnProviderSpecificTypes)booleanShouldSerializeAcceptChangesDuringFill()booleanShouldSerializeFillLoadOption()intUpdate(DataSet dataSet)-
Methods inherited from class system.componentmodel.Component
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSite
-
Methods inherited from class system.MarshalByRefObject
GetLifetimeService, InitializeLifetimeService
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Data.Common, Version=10.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.Common.DataAdapter- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classComponent- 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 interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classComponent- 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 interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classComponent- 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 interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classComponent- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstancein classComponent
-
getJCOType
public org.mases.jcobridge.JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classComponent- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static DataAdapter cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoDataAdapter, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
DataAdapterinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
ShouldSerializeAcceptChangesDuringFill
public boolean ShouldSerializeAcceptChangesDuringFill() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
ShouldSerializeFillLoadOption
public boolean ShouldSerializeFillLoadOption() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Fill
public int Fill(DataSet dataSet) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, EventSourceException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionEventSourceException
-
Update
public int Update(DataSet dataSet) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, EventSourceException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionEventSourceException
-
FillSchema
public DataTable[] FillSchema(DataSet dataSet, SchemaType schemaType) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, EventSourceException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionEventSourceException
-
GetFillParameters
public IDataParameter[] GetFillParameters() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ResetFillLoadOption
public void ResetFillLoadOption() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getAcceptChangesDuringFill
public boolean getAcceptChangesDuringFill() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setAcceptChangesDuringFill
public void setAcceptChangesDuringFill(boolean AcceptChangesDuringFill) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getAcceptChangesDuringUpdate
public boolean getAcceptChangesDuringUpdate() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setAcceptChangesDuringUpdate
public void setAcceptChangesDuringUpdate(boolean AcceptChangesDuringUpdate) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getContinueUpdateOnError
public boolean getContinueUpdateOnError() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setContinueUpdateOnError
public void setContinueUpdateOnError(boolean ContinueUpdateOnError) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getReturnProviderSpecificTypes
public boolean getReturnProviderSpecificTypes() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setReturnProviderSpecificTypes
public void setReturnProviderSpecificTypes(boolean ReturnProviderSpecificTypes) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getTableMappings
public DataTableMappingCollection getTableMappings() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, FormatException, EventSourceException
-
getFillLoadOption
public LoadOption getFillLoadOption() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setFillLoadOption
public void setFillLoadOption(LoadOption FillLoadOption) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException
-
getMissingMappingAction
public MissingMappingAction getMissingMappingAction() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setMissingMappingAction
public void setMissingMappingAction(MissingMappingAction MissingMappingAction) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException
-
getMissingSchemaAction
public MissingSchemaAction getMissingSchemaAction() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setMissingSchemaAction
public void setMissingSchemaAction(MissingSchemaAction MissingSchemaAction) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException
-
addFillError
public void addFillError(FillErrorEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeFillError
public void removeFillError(FillErrorEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-