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=8.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.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.Common.DataAdapterstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description DataAdapter()
DataAdapter(java.lang.Object instance)
Internal constructor.
-
Method Summary
-
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=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.Common.DataAdapter- 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 interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classComponent
- 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 interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classComponent
- 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 interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classComponent
- 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 interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classComponent
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classComponent
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classComponent
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static DataAdapter cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoDataAdapter
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
DataAdapter
instance- 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, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, EventSourceException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
FormatException
EventSourceException
-
Update
public int Update(DataSet dataSet) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, EventSourceException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
FormatException
EventSourceException
-
FillSchema
public DataTable[] FillSchema(DataSet dataSet, SchemaType schemaType) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, EventSourceException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
FormatException
EventSourceException
-
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, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, ArrayTypeMismatchException, 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, InvalidOperationException, 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, InvalidOperationException, 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, InvalidOperationException, 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
-
-