Package system.data.sqlclient
Class SqlDataAdapter
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.componentmodel.Component
-
- system.data.common.DataAdapter
-
- system.data.common.DbDataAdapter
-
- system.data.sqlclient.SqlDataAdapter
-
- All Implemented Interfaces:
AutoCloseable
,IJCOBridgeReflected
,ICloneable
public class SqlDataAdapter extends DbDataAdapter
The base .NET class managing System.Data.SqlClient.SqlDataAdapter, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.SqlClient.SqlDataAdapter
Powered by JCOBridge: more info at https://www.jcobridge.com
- Version:
- 1.14.3.0
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static String
assemblyShortName
Assembly name: System.Datastatic String
className
Qualified class name: System.Data.SqlClient.SqlDataAdapterstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description SqlDataAdapter()
SqlDataAdapter(Object instance)
Internal constructor.SqlDataAdapter(String selectCommandText, String selectConnectionString)
SqlDataAdapter(String selectCommandText, SqlConnection selectConnection)
SqlDataAdapter(SqlCommand selectCommand)
-
Method Summary
-
Methods inherited from class system.data.common.DbDataAdapter
Clone, Fill, Fill, Fill, Fill, Fill, FillSchema, FillSchema, FillSchema, getDeleteCommand, GetFillParameters, getInsertCommand, getSelectCommand, getUpdateBatchSize, getUpdateCommand, setDeleteCommand, setInsertCommand, setSelectCommand, setUpdateBatchSize, setUpdateCommand, Update, Update, Update, Update
-
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, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final 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 String assemblyShortName
Assembly name: System.Data- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Data.SqlClient.SqlDataAdapter- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SqlDataAdapter
public SqlDataAdapter(Object instance) throws Throwable
Internal constructor. Use with caution- Throws:
Throwable
-
SqlDataAdapter
public SqlDataAdapter() throws Throwable, ArgumentNullException
- Throws:
Throwable
ArgumentNullException
-
SqlDataAdapter
public SqlDataAdapter(SqlCommand selectCommand) throws Throwable, ArgumentNullException
- Throws:
Throwable
ArgumentNullException
-
SqlDataAdapter
public SqlDataAdapter(String selectCommandText, SqlConnection selectConnection) throws Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, FormatException
-
SqlDataAdapter
public SqlDataAdapter(String selectCommandText, String selectConnectionString) throws Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException
-
-
Method Detail
-
getJCOAssemblyName
public String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceICloneable
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classDbDataAdapter
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceICloneable
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classDbDataAdapter
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceICloneable
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classDbDataAdapter
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceICloneable
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classDbDataAdapter
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classDbDataAdapter
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceICloneable
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classDbDataAdapter
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static SqlDataAdapter cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoSqlDataAdapter
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
SqlDataAdapter
instance- Throws:
Throwable
- in case of error during cast operation
-
getDeleteCommandNewSqlDataAdapter
public SqlCommand getDeleteCommandNewSqlDataAdapter() throws Throwable
- Throws:
Throwable
-
setDeleteCommand
public void setDeleteCommand(SqlCommand DeleteCommand) throws Throwable
- Throws:
Throwable
-
getInsertCommandNewSqlDataAdapter
public SqlCommand getInsertCommandNewSqlDataAdapter() throws Throwable
- Throws:
Throwable
-
setInsertCommand
public void setInsertCommand(SqlCommand InsertCommand) throws Throwable
- Throws:
Throwable
-
getSelectCommandNewSqlDataAdapter
public SqlCommand getSelectCommandNewSqlDataAdapter() throws Throwable
- Throws:
Throwable
-
setSelectCommand
public void setSelectCommand(SqlCommand SelectCommand) throws Throwable
- Throws:
Throwable
-
getUpdateCommandNewSqlDataAdapter
public SqlCommand getUpdateCommandNewSqlDataAdapter() throws Throwable
- Throws:
Throwable
-
setUpdateCommand
public void setUpdateCommand(SqlCommand UpdateCommand) throws Throwable
- Throws:
Throwable
-
addRowUpdated
public void addRowUpdated(SqlRowUpdatedEventHandler handler) throws Throwable
- Throws:
Throwable
-
removeRowUpdated
public void removeRowUpdated(SqlRowUpdatedEventHandler handler) throws Throwable
- Throws:
Throwable
-
addRowUpdating
public void addRowUpdating(SqlRowUpdatingEventHandler handler) throws Throwable
- Throws:
Throwable
-
removeRowUpdating
public void removeRowUpdating(SqlRowUpdatingEventHandler handler) throws Throwable
- Throws:
Throwable
-
-