Package system.web.ui.webcontrols
Class SqlDataSource
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.web.ui.Control
-
- system.web.ui.DataSourceControl
-
- system.web.ui.webcontrols.SqlDataSource
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
,IParserAccessor
- Direct Known Subclasses:
AccessDataSource
public class SqlDataSource extends DataSourceControl
The base .NET class managing System.Web.UI.WebControls.SqlDataSource, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.UI.WebControls.SqlDataSource
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.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Webstatic java.lang.String
className
Qualified class name: System.Web.UI.WebControls.SqlDataSourcestatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description SqlDataSource()
SqlDataSource(java.lang.Object instance)
Internal constructor.SqlDataSource(java.lang.String connectionString, java.lang.String selectCommand)
SqlDataSource(java.lang.String providerName, java.lang.String connectionString, java.lang.String selectCommand)
-
Method Summary
-
Methods inherited from class system.web.ui.DataSourceControl
ApplyStyleSheetSkin, FindControl, Focus, HasControls, RenderControl
-
Methods inherited from class system.web.ui.Control
addDataBinding, addDisposed, addInit, addLoad, addPreRender, addUnload, close, DataBind, Dispose, getAppRelativeTemplateSourceDirectory, getBindingContainer, getClientID, getClientIDMode, getControls, getDataItemContainer, getDataKeysContainer, getEnableTheming, getEnableViewState, getID, getNamingContainer, getPage, getParent, getRenderingCompatibility, GetRouteUrl, GetRouteUrl, GetRouteUrl, GetRouteUrl, getSite, getSkinID, getTemplateControl, getTemplateSourceDirectory, getUniqueID, GetUniqueIDRelativeTo, getValidateRequestMode, getViewStateMode, getVisible, removeDataBinding, removeDisposed, removeInit, removeLoad, removePreRender, removeUnload, ResolveClientUrl, ResolveUrl, setAppRelativeTemplateSourceDirectory, setClientIDMode, setEnableTheming, setEnableViewState, setID, setPage, setRenderingCompatibility, SetRenderMethodDelegate, setSite, setSkinID, setTemplateControl, SetTraceData, SetTraceData, setValidateRequestMode, setViewStateMode, setVisible
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.web.ui.IParserAccessor
AddParsedSubObject
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Web- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Web.UI.WebControls.SqlDataSource- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SqlDataSource
public SqlDataSource(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
SqlDataSource
public SqlDataSource() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
SqlDataSource
public SqlDataSource(java.lang.String connectionString, java.lang.String selectCommand) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
SqlDataSource
public SqlDataSource(java.lang.String providerName, java.lang.String connectionString, java.lang.String selectCommand) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceIParserAccessor
- Overrides:
getJCOAssemblyName
in classDataSourceControl
- 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
- Specified by:
getJCOClassName
in interfaceIParserAccessor
- Overrides:
getJCOClassName
in classDataSourceControl
- 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
- Specified by:
getJCOObjectName
in interfaceIParserAccessor
- Overrides:
getJCOObjectName
in classDataSourceControl
- 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
- Specified by:
getJCOInstance
in interfaceIParserAccessor
- Overrides:
getJCOInstance
in classDataSourceControl
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classDataSourceControl
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceIParserAccessor
- Overrides:
getJCOType
in classDataSourceControl
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static SqlDataSource cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoSqlDataSource
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
SqlDataSource
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Delete
public int Delete() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
NotSupportedException
-
Insert
public int Insert() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
NotSupportedException
-
Update
public int Update() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
NotSupportedException
-
Select
public IEnumerable Select(DataSourceSelectArguments arguments) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getCancelSelectOnNullParameter
public boolean getCancelSelectOnNullParameter() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
setCancelSelectOnNullParameter
public void setCancelSelectOnNullParameter(boolean CancelSelectOnNullParameter) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getEnableCaching
public boolean getEnableCaching() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException
-
setEnableCaching
public void setEnableCaching(boolean EnableCaching) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
getCacheDuration
public int getCacheDuration() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException
-
setCacheDuration
public void setCacheDuration(int CacheDuration) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
-
getCacheKeyDependency
public java.lang.String getCacheKeyDependency() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException
-
setCacheKeyDependency
public void setCacheKeyDependency(java.lang.String CacheKeyDependency) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
getConnectionString
public java.lang.String getConnectionString() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setConnectionString
public void setConnectionString(java.lang.String ConnectionString) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getDeleteCommand
public java.lang.String getDeleteCommand() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
setDeleteCommand
public void setDeleteCommand(java.lang.String DeleteCommand) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getFilterExpression
public java.lang.String getFilterExpression() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
setFilterExpression
public void setFilterExpression(java.lang.String FilterExpression) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getInsertCommand
public java.lang.String getInsertCommand() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
setInsertCommand
public void setInsertCommand(java.lang.String InsertCommand) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getOldValuesParameterFormatString
public java.lang.String getOldValuesParameterFormatString() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
setOldValuesParameterFormatString
public void setOldValuesParameterFormatString(java.lang.String OldValuesParameterFormatString) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getProviderName
public java.lang.String getProviderName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setProviderName
public void setProviderName(java.lang.String ProviderName) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSelectCommand
public java.lang.String getSelectCommand() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
setSelectCommand
public void setSelectCommand(java.lang.String SelectCommand) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getSortParameterName
public java.lang.String getSortParameterName() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
setSortParameterName
public void setSortParameterName(java.lang.String SortParameterName) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getSqlCacheDependency
public java.lang.String getSqlCacheDependency() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
NotSupportedException
-
setSqlCacheDependency
public void setSqlCacheDependency(java.lang.String SqlCacheDependency) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
NotSupportedException
-
getUpdateCommand
public java.lang.String getUpdateCommand() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
setUpdateCommand
public void setUpdateCommand(java.lang.String UpdateCommand) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getConflictDetection
public ConflictOptions getConflictDetection() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
setConflictDetection
public void setConflictDetection(ConflictOptions ConflictDetection) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
ArgumentOutOfRangeException
-
getCacheExpirationPolicy
public DataSourceCacheExpiry getCacheExpirationPolicy() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException
-
setCacheExpirationPolicy
public void setCacheExpirationPolicy(DataSourceCacheExpiry CacheExpirationPolicy) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
-
getDeleteParameters
public ParameterCollection getDeleteParameters() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getFilterParameters
public ParameterCollection getFilterParameters() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getInsertParameters
public ParameterCollection getInsertParameters() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getSelectParameters
public ParameterCollection getSelectParameters() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getUpdateParameters
public ParameterCollection getUpdateParameters() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getDeleteCommandType
public SqlDataSourceCommandType getDeleteCommandType() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
setDeleteCommandType
public void setDeleteCommandType(SqlDataSourceCommandType DeleteCommandType) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
ArgumentOutOfRangeException
-
getInsertCommandType
public SqlDataSourceCommandType getInsertCommandType() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
setInsertCommandType
public void setInsertCommandType(SqlDataSourceCommandType InsertCommandType) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
ArgumentOutOfRangeException
-
getSelectCommandType
public SqlDataSourceCommandType getSelectCommandType() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
setSelectCommandType
public void setSelectCommandType(SqlDataSourceCommandType SelectCommandType) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
ArgumentOutOfRangeException
-
getUpdateCommandType
public SqlDataSourceCommandType getUpdateCommandType() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
setUpdateCommandType
public void setUpdateCommandType(SqlDataSourceCommandType UpdateCommandType) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
ArgumentOutOfRangeException
-
getDataSourceMode
public SqlDataSourceMode getDataSourceMode() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDataSourceMode
public void setDataSourceMode(SqlDataSourceMode DataSourceMode) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
-
addDeleting
public void addDeleting(SqlDataSourceCommandEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeDeleting
public void removeDeleting(SqlDataSourceCommandEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addInserting
public void addInserting(SqlDataSourceCommandEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeInserting
public void removeInserting(SqlDataSourceCommandEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addUpdating
public void addUpdating(SqlDataSourceCommandEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeUpdating
public void removeUpdating(SqlDataSourceCommandEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addFiltering
public void addFiltering(SqlDataSourceFilteringEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeFiltering
public void removeFiltering(SqlDataSourceFilteringEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addSelecting
public void addSelecting(SqlDataSourceSelectingEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeSelecting
public void removeSelecting(SqlDataSourceSelectingEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addDeleted
public void addDeleted(SqlDataSourceStatusEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeDeleted
public void removeDeleted(SqlDataSourceStatusEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addInserted
public void addInserted(SqlDataSourceStatusEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeInserted
public void removeInserted(SqlDataSourceStatusEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addSelected
public void addSelected(SqlDataSourceStatusEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeSelected
public void removeSelected(SqlDataSourceStatusEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addUpdated
public void addUpdated(SqlDataSourceStatusEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeUpdated
public void removeUpdated(SqlDataSourceStatusEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-