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:
java.lang.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
- 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, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.Datastatic java.lang.String
className
Qualified class name: System.Data.SqlClient.SqlDataAdapterstatic org.mases.jcobridge.JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description SqlDataAdapter()
SqlDataAdapter(java.lang.Object instance)
Internal constructor.SqlDataAdapter(java.lang.String selectCommandText, java.lang.String selectConnectionString)
SqlDataAdapter(java.lang.String selectCommandText, SqlConnection selectConnection)
SqlDataAdapter(SqlCommand selectCommand)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRowUpdated(SqlRowUpdatedEventHandler handler)
void
addRowUpdating(SqlRowUpdatingEventHandler handler)
static SqlDataAdapter
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoSqlDataAdapter
, a cast assert is made to check if types are compatible.SqlCommand
getDeleteCommandNewSqlDataAdapter()
SqlCommand
getInsertCommandNewSqlDataAdapter()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectorg.mases.jcobridge.JCType
getJCOType()
Returns the instantiated class TypeSqlCommand
getSelectCommandNewSqlDataAdapter()
SqlCommand
getUpdateCommandNewSqlDataAdapter()
void
removeRowUpdated(SqlRowUpdatedEventHandler handler)
void
removeRowUpdating(SqlRowUpdatingEventHandler handler)
void
setDeleteCommand(SqlCommand DeleteCommand)
void
setInsertCommand(SqlCommand InsertCommand)
void
setJCOInstance(org.mases.jcobridge.JCObject instance)
void
setSelectCommand(SqlCommand SelectCommand)
void
setUpdateCommand(SqlCommand UpdateCommand)
-
Methods inherited from class system.data.common.DbDataAdapter
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, 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.SqlClient.SqlDataAdapter- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Constructor Detail
-
SqlDataAdapter
public SqlDataAdapter(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
SqlDataAdapter
public SqlDataAdapter() throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
SqlDataAdapter
public SqlDataAdapter(SqlCommand selectCommand) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
SqlDataAdapter
public SqlDataAdapter(java.lang.String selectCommandText, SqlConnection selectConnection) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, FormatException
-
SqlDataAdapter
public SqlDataAdapter(java.lang.String selectCommandText, java.lang.String selectConnectionString) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.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 java.lang.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 java.lang.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 java.lang.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(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstance
in classDbDataAdapter
-
getJCOType
public org.mases.jcobridge.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 java.lang.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:
java.lang.Throwable
- in case of error during cast operation
-
getDeleteCommandNewSqlDataAdapter
public SqlCommand getDeleteCommandNewSqlDataAdapter() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDeleteCommand
public void setDeleteCommand(SqlCommand DeleteCommand) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getInsertCommandNewSqlDataAdapter
public SqlCommand getInsertCommandNewSqlDataAdapter() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setInsertCommand
public void setInsertCommand(SqlCommand InsertCommand) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSelectCommandNewSqlDataAdapter
public SqlCommand getSelectCommandNewSqlDataAdapter() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSelectCommand
public void setSelectCommand(SqlCommand SelectCommand) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getUpdateCommandNewSqlDataAdapter
public SqlCommand getUpdateCommandNewSqlDataAdapter() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setUpdateCommand
public void setUpdateCommand(SqlCommand UpdateCommand) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addRowUpdated
public void addRowUpdated(SqlRowUpdatedEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeRowUpdated
public void removeRowUpdated(SqlRowUpdatedEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addRowUpdating
public void addRowUpdating(SqlRowUpdatingEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeRowUpdating
public void removeRowUpdating(SqlRowUpdatingEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-