Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WebForms / System / Web / UI / Design / WebControls / SqlDataSourceQuery.cs / 1 / SqlDataSourceQuery.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI.Design.WebControls {
using System.Collections;
using System.Diagnostics;
using System.Web.UI.WebControls;
///
/// Represents a single query of a SqlDataSource (Select/Insert/Update/Delete).
///
internal sealed class SqlDataSourceQuery {
private string _command;
private SqlDataSourceCommandType _commandType;
private ICollection _parameters;
///
///
public SqlDataSourceQuery(string command, SqlDataSourceCommandType commandType, ICollection parameters) {
Debug.Assert(command != null);
Debug.Assert(parameters != null);
_command = command;
_commandType = commandType;
_parameters = parameters;
}
public string Command {
get {
return _command;
}
}
public SqlDataSourceCommandType CommandType {
get {
return _commandType;
}
}
public ICollection Parameters {
get {
return _parameters;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SourceFileInfo.cs
- x509store.cs
- DetailsViewModeEventArgs.cs
- ActiveXHost.cs
- ObjectDataProvider.cs
- SerialReceived.cs
- CompModSwitches.cs
- ClientScriptManagerWrapper.cs
- COM2ExtendedBrowsingHandler.cs
- ProfessionalColorTable.cs
- ParentQuery.cs
- AccessControlEntry.cs
- RoleServiceManager.cs
- UIAgentAsyncBeginRequest.cs
- ConfigurationStrings.cs
- ToolStripScrollButton.cs
- SetterTriggerConditionValueConverter.cs
- DrawingAttributeSerializer.cs
- SpecialTypeDataContract.cs
- RadioButtonRenderer.cs
- TextProviderWrapper.cs
- AccessedThroughPropertyAttribute.cs
- DoubleCollection.cs
- ColumnResizeUndoUnit.cs
- SRDisplayNameAttribute.cs
- FieldCollectionEditor.cs
- DataGridViewBand.cs
- CustomErrorsSectionWrapper.cs
- UnlockCardRequest.cs
- DBConcurrencyException.cs
- ToolboxComponentsCreatingEventArgs.cs
- WindowsPrincipal.cs
- HttpListenerContext.cs
- LoginName.cs
- ButtonPopupAdapter.cs
- TraceContextEventArgs.cs
- NamespaceMapping.cs
- SettingsAttributeDictionary.cs
- RenderCapability.cs
- Maps.cs
- SortedDictionary.cs
- ThreadStateException.cs
- SpellerStatusTable.cs
- GradientBrush.cs
- MetadataArtifactLoaderFile.cs
- PinnedBufferMemoryStream.cs
- EntityType.cs
- DataFormat.cs
- UInt16Storage.cs
- Camera.cs
- WebPartMenu.cs
- AsymmetricKeyExchangeFormatter.cs
- SafeRightsManagementEnvironmentHandle.cs
- IdentitySection.cs
- PopupRoot.cs
- SingleStorage.cs
- ScopelessEnumAttribute.cs
- SelectionManager.cs
- ValidatingPropertiesEventArgs.cs
- MemberInitExpression.cs
- DateTimeValueSerializerContext.cs
- Root.cs
- ProviderCommandInfoUtils.cs
- XamlHttpHandlerFactory.cs
- AttributeAction.cs
- InstanceKey.cs
- FieldNameLookup.cs
- HttpRuntimeSection.cs
- ConfigurationErrorsException.cs
- IdleTimeoutMonitor.cs
- FlowDocumentPaginator.cs
- PositiveTimeSpanValidatorAttribute.cs
- WebRequestModuleElementCollection.cs
- DbCommandDefinition.cs
- RegexParser.cs
- AVElementHelper.cs
- PrtCap_Builder.cs
- InkCanvasSelection.cs
- LassoSelectionBehavior.cs
- ServiceRoute.cs
- sqlser.cs
- DecimalAnimation.cs
- StreamWriter.cs
- PackageRelationship.cs
- MembershipPasswordException.cs
- TextSimpleMarkerProperties.cs
- BitmapEffect.cs
- DataServicePagingProviderWrapper.cs
- SessionState.cs
- Cursors.cs
- SoapEnumAttribute.cs
- Deserializer.cs
- Helper.cs
- FilterQueryOptionExpression.cs
- AttachedPropertiesService.cs
- PageClientProxyGenerator.cs
- DataGridViewIntLinkedList.cs
- XmlSchemaObject.cs
- XmlSchemaExporter.cs
- ArrayList.cs