Package system.data.sqlclient
Class SqlCommandBuilder
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.componentmodel.Component
-
- system.data.common.DbCommandBuilder
-
- system.data.sqlclient.SqlCommandBuilder
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
public class SqlCommandBuilder extends DbCommandBuilder
The base .NET class managing System.Data.SqlClient.SqlCommandBuilder, 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.SqlCommandBuilder
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.SqlCommandBuilderstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description SqlCommandBuilder()
SqlCommandBuilder(java.lang.Object instance)
Internal constructor.SqlCommandBuilder(SqlDataAdapter adapter)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SqlCommandBuilder
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoSqlCommandBuilder
, a cast assert is made to check if types are compatible.static void
DeriveParameters(SqlCommand command)
SqlDataAdapter
getDataAdapterNewSqlCommandBuilder()
SqlCommand
GetDeleteCommandNewSqlCommandBuilder()
SqlCommand
GetDeleteCommandNewSqlCommandBuilder(boolean useColumnsForParameterNames)
SqlCommand
GetInsertCommandNewSqlCommandBuilder()
SqlCommand
GetInsertCommandNewSqlCommandBuilder(boolean useColumnsForParameterNames)
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 objectJCType
getJCOType()
Returns the instantiated class TypeSqlCommand
GetUpdateCommandNewSqlCommandBuilder()
SqlCommand
GetUpdateCommandNewSqlCommandBuilder(boolean useColumnsForParameterNames)
java.lang.String
QuoteIdentifier(java.lang.String unquotedIdentifier)
void
setDataAdapter(SqlDataAdapter DataAdapter)
void
setJCOInstance(JCObject instance)
java.lang.String
UnquoteIdentifier(java.lang.String quotedIdentifier)
-
Methods inherited from class system.data.common.DbCommandBuilder
getCatalogLocation, getCatalogSeparator, getConflictOption, getDataAdapter, GetDeleteCommand, GetDeleteCommand, GetInsertCommand, GetInsertCommand, getQuotePrefix, getQuoteSuffix, getSchemaSeparator, getSetAllValues, GetUpdateCommand, GetUpdateCommand, RefreshSchema, setCatalogLocation, setCatalogSeparator, setConflictOption, setDataAdapter, setQuotePrefix, setQuoteSuffix, setSchemaSeparator, setSetAllValues
-
Methods inherited from class system.componentmodel.Component
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSite
-
Methods inherited from class system.MarshalByRefObject
CreateObjRef, GetLifetimeService, InitializeLifetimeService
-
-
-
-
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.SqlCommandBuilder- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SqlCommandBuilder
public SqlCommandBuilder(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
SqlCommandBuilder
public SqlCommandBuilder() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
SqlCommandBuilder
public SqlCommandBuilder(SqlDataAdapter adapter) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
-
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 classDbCommandBuilder
- 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 classDbCommandBuilder
- 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 classDbCommandBuilder
- 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 classDbCommandBuilder
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classDbCommandBuilder
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classDbCommandBuilder
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static SqlCommandBuilder cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoSqlCommandBuilder
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
SqlCommandBuilder
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
GetDeleteCommandNewSqlCommandBuilder
public SqlCommand GetDeleteCommandNewSqlCommandBuilder() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, KeyNotFoundException
-
GetDeleteCommandNewSqlCommandBuilder
public SqlCommand GetDeleteCommandNewSqlCommandBuilder(boolean useColumnsForParameterNames) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, KeyNotFoundException
-
GetInsertCommandNewSqlCommandBuilder
public SqlCommand GetInsertCommandNewSqlCommandBuilder() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, KeyNotFoundException
-
GetInsertCommandNewSqlCommandBuilder
public SqlCommand GetInsertCommandNewSqlCommandBuilder(boolean useColumnsForParameterNames) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, KeyNotFoundException
-
GetUpdateCommandNewSqlCommandBuilder
public SqlCommand GetUpdateCommandNewSqlCommandBuilder() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, KeyNotFoundException
-
GetUpdateCommandNewSqlCommandBuilder
public SqlCommand GetUpdateCommandNewSqlCommandBuilder(boolean useColumnsForParameterNames) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, KeyNotFoundException
-
QuoteIdentifier
public java.lang.String QuoteIdentifier(java.lang.String unquotedIdentifier) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
- Overrides:
QuoteIdentifier
in classDbCommandBuilder
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
-
UnquoteIdentifier
public java.lang.String UnquoteIdentifier(java.lang.String quotedIdentifier) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
- Overrides:
UnquoteIdentifier
in classDbCommandBuilder
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
-
DeriveParameters
public static void DeriveParameters(SqlCommand command) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, EventSourceException, NotSupportedException, KeyNotFoundException, FormatException, SqlNullValueException, InvalidCastException, SqlException, TaskSchedulerException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
EventSourceException
NotSupportedException
KeyNotFoundException
FormatException
SqlNullValueException
InvalidCastException
SqlException
TaskSchedulerException
-
getDataAdapterNewSqlCommandBuilder
public SqlDataAdapter getDataAdapterNewSqlCommandBuilder() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDataAdapter
public void setDataAdapter(SqlDataAdapter DataAdapter) throws java.lang.Throwable, ArgumentException, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
-
-