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.StringassemblyFullNameFully assembly qualified name: System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Datastatic java.lang.StringclassNameQualified class name: System.Data.SqlClient.SqlCommandBuilderstatic JCTypeclassTypeThe 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 SqlCommandBuildercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoSqlCommandBuilder, a cast assert is made to check if types are compatible.static voidDeriveParameters(SqlCommand command)SqlDataAdaptergetDataAdapterNewSqlCommandBuilder()SqlCommandGetDeleteCommandNewSqlCommandBuilder()SqlCommandGetDeleteCommandNewSqlCommandBuilder(boolean useColumnsForParameterNames)SqlCommandGetInsertCommandNewSqlCommandBuilder()SqlCommandGetInsertCommandNewSqlCommandBuilder(boolean useColumnsForParameterNames)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 objectJCTypegetJCOType()Returns the instantiated class TypeSqlCommandGetUpdateCommandNewSqlCommandBuilder()SqlCommandGetUpdateCommandNewSqlCommandBuilder(boolean useColumnsForParameterNames)java.lang.StringQuoteIdentifier(java.lang.String unquotedIdentifier)voidsetDataAdapter(SqlDataAdapter DataAdapter)voidsetJCOInstance(JCObject instance)java.lang.StringUnquoteIdentifier(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.ThrowableInternal 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:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classDbCommandBuilder- 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 classDbCommandBuilder- 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 classDbCommandBuilder- 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 classDbCommandBuilder- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classDbCommandBuilder
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classDbCommandBuilder- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static SqlCommandBuilder cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoSqlCommandBuilder, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
SqlCommandBuilderinstance- 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:
QuoteIdentifierin classDbCommandBuilder- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationException
-
UnquoteIdentifier
public java.lang.String UnquoteIdentifier(java.lang.String quotedIdentifier) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException- Overrides:
UnquoteIdentifierin classDbCommandBuilder- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationException
-
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.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionEventSourceExceptionNotSupportedExceptionKeyNotFoundExceptionFormatExceptionSqlNullValueExceptionInvalidCastExceptionSqlExceptionTaskSchedulerException
-
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.ThrowableArgumentExceptionArgumentNullException
-
-