public class SqlParameter extends DbParameter implements ICloneable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.SqlClient.SqlParameter
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Data
|
static java.lang.String |
className
Qualified class name: System.Data.SqlClient.SqlParameter
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
SqlParameter() |
SqlParameter(java.lang.Object instance)
Internal constructor.
|
SqlParameter(java.lang.String parameterName,
NetObject value) |
SqlParameter(java.lang.String parameterName,
SqlDbType dbType) |
SqlParameter(java.lang.String parameterName,
SqlDbType dbType,
int size) |
SqlParameter(java.lang.String parameterName,
SqlDbType dbType,
int size,
ParameterDirection direction,
boolean isNullable,
byte precision,
byte scale,
java.lang.String sourceColumn,
DataRowVersion sourceVersion,
NetObject value) |
SqlParameter(java.lang.String parameterName,
SqlDbType dbType,
int size,
ParameterDirection direction,
byte precision,
byte scale,
java.lang.String sourceColumn,
DataRowVersion sourceVersion,
boolean sourceColumnNullMapping,
NetObject value,
java.lang.String xmlSchemaCollectionDatabase,
java.lang.String xmlSchemaCollectionOwningSchema,
java.lang.String xmlSchemaCollectionName) |
SqlParameter(java.lang.String parameterName,
SqlDbType dbType,
int size,
java.lang.String sourceColumn) |
| Modifier and Type | Method and Description |
|---|---|
static SqlParameter |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into SqlParameter, a cast assert is made to check if types are compatible. |
SqlCompareOptions |
getCompareInfo() |
boolean |
getForceColumnEncryption() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
int |
getLocaleId() |
int |
getOffset() |
byte |
getPrecision() |
byte |
getScale() |
SqlDbType |
getSqlDbType() |
NetObject |
getSqlValue() |
java.lang.String |
getTypeName() |
java.lang.String |
getUdtTypeName() |
java.lang.String |
getXmlSchemaCollectionDatabase() |
java.lang.String |
getXmlSchemaCollectionName() |
java.lang.String |
getXmlSchemaCollectionOwningSchema() |
void |
ResetDbType() |
void |
ResetSqlDbType() |
void |
setCompareInfo(SqlCompareOptions CompareInfo) |
void |
setForceColumnEncryption(boolean ForceColumnEncryption) |
void |
setJCOInstance(JCObject instance) |
void |
setLocaleId(int LocaleId) |
void |
setOffset(int Offset) |
void |
setPrecision(byte Precision) |
void |
setScale(byte Scale) |
void |
setSqlDbType(SqlDbType SqlDbType) |
void |
setSqlValue(NetObject SqlValue) |
void |
setTypeName(java.lang.String TypeName) |
void |
setUdtTypeName(java.lang.String UdtTypeName) |
void |
setXmlSchemaCollectionDatabase(java.lang.String XmlSchemaCollectionDatabase) |
void |
setXmlSchemaCollectionName(java.lang.String XmlSchemaCollectionName) |
void |
setXmlSchemaCollectionOwningSchema(java.lang.String XmlSchemaCollectionOwningSchema) |
getDbType, getDirection, getIsNullable, getParameterName, getSize, getSourceColumn, getSourceColumnNullMapping, getSourceVersion, getValue, setDbType, setDirection, setIsNullable, setParameterName, setSize, setSourceColumn, setSourceColumnNullMapping, setSourceVersion, setValueCreateObjRef, GetLifetimeService, InitializeLifetimeServiceEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringClone, ToICloneablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public SqlParameter()
throws java.lang.Throwable
java.lang.Throwablepublic SqlParameter(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic SqlParameter(java.lang.String parameterName,
NetObject value)
throws java.lang.Throwable
java.lang.Throwablepublic SqlParameter(java.lang.String parameterName,
SqlDbType dbType)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException
public SqlParameter(java.lang.String parameterName,
SqlDbType dbType,
int size)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException
public SqlParameter(java.lang.String parameterName,
SqlDbType dbType,
int size,
ParameterDirection direction,
boolean isNullable,
byte precision,
byte scale,
java.lang.String sourceColumn,
DataRowVersion sourceVersion,
NetObject value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException,
SqlNullValueException
public SqlParameter(java.lang.String parameterName,
SqlDbType dbType,
int size,
ParameterDirection direction,
byte precision,
byte scale,
java.lang.String sourceColumn,
DataRowVersion sourceVersion,
boolean sourceColumnNullMapping,
NetObject value,
java.lang.String xmlSchemaCollectionDatabase,
java.lang.String xmlSchemaCollectionOwningSchema,
java.lang.String xmlSchemaCollectionName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException,
SqlNullValueException
public SqlParameter(java.lang.String parameterName,
SqlDbType dbType,
int size,
java.lang.String sourceColumn)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException
public static SqlParameter cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into SqlParameter, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedSqlParameter instancejava.lang.Throwable - in case of error during cast operationpublic SqlCompareOptions getCompareInfo() throws java.lang.Throwable
java.lang.Throwablepublic boolean getForceColumnEncryption()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface ICloneablegetJCOAssemblyName in class DbParameterString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface ICloneablegetJCOClassName in class DbParameterString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface ICloneablegetJCOInstance in class DbParameterObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface ICloneablegetJCOObjectName in class DbParameterString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface ICloneablegetJCOType in class DbParameterJCType representing the CLR Type of the instantiated Classpublic int getLocaleId()
throws java.lang.Throwable
java.lang.Throwablepublic int getOffset()
throws java.lang.Throwable
java.lang.Throwablepublic byte getPrecision()
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ArgumentException,
SqlNullValueException,
OverflowException,
SqlTypeException,
XmlException,
NotSupportedException,
TargetInvocationException
getPrecision in class DbParameterjava.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionSqlNullValueExceptionOverflowExceptionSqlTypeExceptionXmlExceptionNotSupportedExceptionTargetInvocationExceptionpublic byte getScale()
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ArgumentException,
SqlNullValueException,
OverflowException,
SqlTypeException,
XmlException,
NotSupportedException,
TargetInvocationException
getScale in class DbParameterjava.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionSqlNullValueExceptionOverflowExceptionSqlTypeExceptionXmlExceptionNotSupportedExceptionTargetInvocationExceptionpublic SqlDbType getSqlDbType() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, SqlNullValueException
public NetObject getSqlValue() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, SqlNullValueException, OverflowException, SqlTypeException, XmlException, NotSupportedException, TargetInvocationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionSqlNullValueExceptionOverflowExceptionSqlTypeExceptionXmlExceptionNotSupportedExceptionTargetInvocationExceptionpublic java.lang.String getTypeName()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getUdtTypeName()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getXmlSchemaCollectionDatabase()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getXmlSchemaCollectionName()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getXmlSchemaCollectionOwningSchema()
throws java.lang.Throwable
java.lang.Throwablepublic void ResetDbType()
throws java.lang.Throwable
ResetDbType in class DbParameterjava.lang.Throwablepublic void ResetSqlDbType()
throws java.lang.Throwable
java.lang.Throwablepublic void setCompareInfo(SqlCompareOptions CompareInfo) throws java.lang.Throwable, ArgumentOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionpublic void setForceColumnEncryption(boolean ForceColumnEncryption)
throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class DbParameterpublic void setLocaleId(int LocaleId)
throws java.lang.Throwable,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionpublic void setOffset(int Offset)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
ArgumentOutOfRangeException,
NotImplementedException,
IndexOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
AbandonedMutexException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionAbandonedMutexExceptionpublic void setPrecision(byte Precision)
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ArgumentException,
SqlNullValueException
setPrecision in class DbParameterjava.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionSqlNullValueExceptionpublic void setScale(byte Scale)
throws java.lang.Throwable
setScale in class DbParameterjava.lang.Throwablepublic void setSqlDbType(SqlDbType SqlDbType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException
public void setSqlValue(NetObject SqlValue) throws java.lang.Throwable
java.lang.Throwablepublic void setTypeName(java.lang.String TypeName)
throws java.lang.Throwable
java.lang.Throwablepublic void setUdtTypeName(java.lang.String UdtTypeName)
throws java.lang.Throwable
java.lang.Throwablepublic void setXmlSchemaCollectionDatabase(java.lang.String XmlSchemaCollectionDatabase)
throws java.lang.Throwable
java.lang.Throwablepublic void setXmlSchemaCollectionName(java.lang.String XmlSchemaCollectionName)
throws java.lang.Throwable
java.lang.Throwablepublic void setXmlSchemaCollectionOwningSchema(java.lang.String XmlSchemaCollectionOwningSchema)
throws java.lang.Throwable
java.lang.Throwable