Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / CompMod / System / ComponentModel / Design / Data / DesignerDataStoredProcedure.cs / 1 / DesignerDataStoredProcedure.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel.Design.Data { using System; using System.Collections; ////// Represents a single stored procedure in a data connection. A /// collection of this type is returned from /// IDesignerDataSchema.GetSchemaItems when it is passed /// DesignerDataSchemaClass.StoredProcedures. /// public abstract class DesignerDataStoredProcedure { private string _name; private string _owner; private ICollection _parameters; ////// protected DesignerDataStoredProcedure(string name) { _name = name; } ////// protected DesignerDataStoredProcedure(string name, string owner) { _name = name; _owner = owner; } ////// The name of the stored procedure. /// public string Name { get { return _name; } } ////// The owner of the stored procedure. /// public string Owner { get { return _owner; } } ////// The collection of parameters accepted by the stored procedure. /// public ICollection Parameters { get { if (_parameters == null) { _parameters = CreateParameters(); } return _parameters; } } ////// This method will be called the first time the Parameters property /// is accessed. It should return a collection of /// DesignerDataParameter objects representing this stored procedure's /// parameters. If there are no parameters, it should return an empty /// collection (not null). /// protected abstract ICollection CreateParameters(); } } // 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
- ArrayConverter.cs
- RegistryPermission.cs
- ResumeStoryboard.cs
- FramingEncoders.cs
- DataBindingsDialog.cs
- ModelUIElement3D.cs
- DeadCharTextComposition.cs
- SortQuery.cs
- KeySplineConverter.cs
- HyperLinkStyle.cs
- DataGridViewSelectedColumnCollection.cs
- Pen.cs
- PageStatePersister.cs
- RuleElement.cs
- EntityDataSourceDataSelection.cs
- BCLDebug.cs
- ConstructorBuilder.cs
- WindowVisualStateTracker.cs
- KeyValueConfigurationElement.cs
- TrackingMemoryStreamFactory.cs
- WebPartConnection.cs
- AccessDataSourceView.cs
- Freezable.cs
- ByteAnimationBase.cs
- Registry.cs
- brushes.cs
- ClientApiGenerator.cs
- DataView.cs
- DashStyle.cs
- WebPartActionVerb.cs
- OneOf.cs
- Metadata.cs
- MatcherBuilder.cs
- HtmlTableRow.cs
- MimeMultiPart.cs
- X509Certificate2.cs
- CodeSnippetStatement.cs
- LinqDataSourceDeleteEventArgs.cs
- UriTemplateClientFormatter.cs
- RoleGroupCollectionEditor.cs
- SoapReflectionImporter.cs
- WindowsFont.cs
- Baml2006SchemaContext.cs
- X509UI.cs
- SiteMapNodeItem.cs
- PopupRootAutomationPeer.cs
- InvalidChannelBindingException.cs
- DateTimeStorage.cs
- RawStylusInput.cs
- BuildResult.cs
- SqlProcedureAttribute.cs
- HttpInputStream.cs
- SByteStorage.cs
- XmlMemberMapping.cs
- LineUtil.cs
- ConstraintEnumerator.cs
- UnsafeNativeMethodsTablet.cs
- ScriptRegistrationManager.cs
- FormsAuthenticationCredentials.cs
- XPathQilFactory.cs
- StylusPoint.cs
- BindingContext.cs
- DbConnectionFactory.cs
- HitTestResult.cs
- DetailsViewRowCollection.cs
- ADConnectionHelper.cs
- SqlPersonalizationProvider.cs
- XmlFormatExtensionAttribute.cs
- SymDocumentType.cs
- SetStateEventArgs.cs
- ResourceDescriptionAttribute.cs
- TreeNode.cs
- FastPropertyAccessor.cs
- GeneralTransformCollection.cs
- HostedElements.cs
- UnsafeNativeMethods.cs
- BuilderPropertyEntry.cs
- complextypematerializer.cs
- _CookieModule.cs
- safesecurityhelperavalon.cs
- mansign.cs
- NativeMethods.cs
- SchemaManager.cs
- ConfigurationStrings.cs
- EmbossBitmapEffect.cs
- Vector3DConverter.cs
- PropertiesTab.cs
- InputGestureCollection.cs
- TableLayoutStyleCollection.cs
- EventDescriptor.cs
- DESCryptoServiceProvider.cs
- ExpandoObject.cs
- DPTypeDescriptorContext.cs
- MemoryFailPoint.cs
- WizardPanel.cs
- TextEvent.cs
- cryptoapiTransform.cs
- Stroke2.cs
- CustomTypeDescriptor.cs
- WebPartConnectionsEventArgs.cs