Package system.data.oledb
Class OleDbCommandBuilder
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.componentmodel.Component
-
- system.data.common.DbCommandBuilder
-
- system.data.oledb.OleDbCommandBuilder
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
public class OleDbCommandBuilder extends DbCommandBuilder
The base .NET class managing System.Data.OleDb.OleDbCommandBuilder, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.OleDb.OleDbCommandBuilder
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.OleDb.OleDbCommandBuilderstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description OleDbCommandBuilder()
OleDbCommandBuilder(java.lang.Object instance)
Internal constructor.OleDbCommandBuilder(OleDbDataAdapter adapter)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OleDbCommandBuilder
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoOleDbCommandBuilder
, a cast assert is made to check if types are compatible.static void
DeriveParameters(OleDbCommand command)
OleDbDataAdapter
getDataAdapterNewOleDbCommandBuilder()
OleDbCommand
GetDeleteCommandNewOleDbCommandBuilder()
OleDbCommand
GetDeleteCommandNewOleDbCommandBuilder(boolean useColumnsForParameterNames)
OleDbCommand
GetInsertCommandNewOleDbCommandBuilder()
OleDbCommand
GetInsertCommandNewOleDbCommandBuilder(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 TypeOleDbCommand
GetUpdateCommandNewOleDbCommandBuilder()
OleDbCommand
GetUpdateCommandNewOleDbCommandBuilder(boolean useColumnsForParameterNames)
java.lang.String
QuoteIdentifier(java.lang.String unquotedIdentifier)
java.lang.String
QuoteIdentifier(java.lang.String unquotedIdentifier, OleDbConnection connection)
void
setDataAdapter(OleDbDataAdapter DataAdapter)
void
setJCOInstance(JCObject instance)
java.lang.String
UnquoteIdentifier(java.lang.String quotedIdentifier)
java.lang.String
UnquoteIdentifier(java.lang.String quotedIdentifier, OleDbConnection connection)
-
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.OleDb.OleDbCommandBuilder- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OleDbCommandBuilder
public OleDbCommandBuilder(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
OleDbCommandBuilder
public OleDbCommandBuilder() throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
OleDbCommandBuilder
public OleDbCommandBuilder(OleDbDataAdapter adapter) throws java.lang.Throwable, ArgumentNullException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
-
-
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 OleDbCommandBuilder cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoOleDbCommandBuilder
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
OleDbCommandBuilder
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
GetDeleteCommandNewOleDbCommandBuilder
public OleDbCommand GetDeleteCommandNewOleDbCommandBuilder() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, KeyNotFoundException
-
GetDeleteCommandNewOleDbCommandBuilder
public OleDbCommand GetDeleteCommandNewOleDbCommandBuilder(boolean useColumnsForParameterNames) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, KeyNotFoundException
-
GetInsertCommandNewOleDbCommandBuilder
public OleDbCommand GetInsertCommandNewOleDbCommandBuilder() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, KeyNotFoundException
-
GetInsertCommandNewOleDbCommandBuilder
public OleDbCommand GetInsertCommandNewOleDbCommandBuilder(boolean useColumnsForParameterNames) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, KeyNotFoundException
-
GetUpdateCommandNewOleDbCommandBuilder
public OleDbCommand GetUpdateCommandNewOleDbCommandBuilder() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, KeyNotFoundException
-
GetUpdateCommandNewOleDbCommandBuilder
public OleDbCommand GetUpdateCommandNewOleDbCommandBuilder(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, AccessViolationException
- Overrides:
QuoteIdentifier
in classDbCommandBuilder
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
AccessViolationException
-
QuoteIdentifier
public java.lang.String QuoteIdentifier(java.lang.String unquotedIdentifier, OleDbConnection connection) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, AccessViolationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
AccessViolationException
-
UnquoteIdentifier
public java.lang.String UnquoteIdentifier(java.lang.String quotedIdentifier) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, AccessViolationException
- Overrides:
UnquoteIdentifier
in classDbCommandBuilder
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
AccessViolationException
-
UnquoteIdentifier
public java.lang.String UnquoteIdentifier(java.lang.String quotedIdentifier, OleDbConnection connection) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, AccessViolationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
AccessViolationException
-
DeriveParameters
public static void DeriveParameters(OleDbCommand command) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, AccessViolationException, InvalidCastException, FormatException, KeyNotFoundException, NotSupportedException, SqlNullValueException, DataException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
AccessViolationException
InvalidCastException
FormatException
KeyNotFoundException
NotSupportedException
SqlNullValueException
DataException
-
getDataAdapterNewOleDbCommandBuilder
public OleDbDataAdapter getDataAdapterNewOleDbCommandBuilder() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDataAdapter
public void setDataAdapter(OleDbDataAdapter DataAdapter) throws java.lang.Throwable, ArgumentException, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
-
-