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
- NameTable.cs
- CustomLineCap.cs
- autovalidator.cs
- PageAsyncTaskManager.cs
- DataFormats.cs
- Route.cs
- HttpProfileGroupBase.cs
- SafeFileMapViewHandle.cs
- ContractListAdapter.cs
- Compiler.cs
- AsyncOperation.cs
- CompareInfo.cs
- XmlElementAttribute.cs
- HighlightComponent.cs
- fixedPageContentExtractor.cs
- ListManagerBindingsCollection.cs
- WeakReadOnlyCollection.cs
- DuplicateDetector.cs
- EntityDesignerDataSourceView.cs
- PointCollection.cs
- XmlException.cs
- PropertyStore.cs
- CompilationRelaxations.cs
- InstanceCollisionException.cs
- DataListItem.cs
- InputProviderSite.cs
- EmulateRecognizeCompletedEventArgs.cs
- ThumbAutomationPeer.cs
- BoundsDrawingContextWalker.cs
- SimpleColumnProvider.cs
- CellConstantDomain.cs
- SpeakCompletedEventArgs.cs
- OleDbErrorCollection.cs
- SchemaImporterExtensionElement.cs
- XmlAtomErrorReader.cs
- X509Certificate2.cs
- Track.cs
- CacheEntry.cs
- DocumentSchemaValidator.cs
- BooleanAnimationUsingKeyFrames.cs
- CheckBoxList.cs
- MexHttpsBindingCollectionElement.cs
- FormsAuthenticationEventArgs.cs
- CodeObjectCreateExpression.cs
- x509store.cs
- Helper.cs
- DbFunctionCommandTree.cs
- ClientSettingsProvider.cs
- XmlWriter.cs
- Matrix.cs
- ScriptingSectionGroup.cs
- HtmlValidatorAdapter.cs
- CellConstant.cs
- TrustManagerPromptUI.cs
- CharacterBuffer.cs
- CounterCreationDataCollection.cs
- ELinqQueryState.cs
- FunctionImportMapping.cs
- NegationPusher.cs
- SerialPinChanges.cs
- HostingEnvironmentException.cs
- NumberFormatInfo.cs
- ExpressionBindingsDialog.cs
- PackagingUtilities.cs
- XmlQualifiedName.cs
- TcpChannelFactory.cs
- MemoryStream.cs
- TextRangeBase.cs
- GenericRootAutomationPeer.cs
- ScriptReferenceBase.cs
- HMACMD5.cs
- MexTcpBindingElement.cs
- Int32CollectionConverter.cs
- MouseBinding.cs
- InternalRelationshipCollection.cs
- IriParsingElement.cs
- HttpCapabilitiesEvaluator.cs
- SecurityContext.cs
- BuildProviderCollection.cs
- WebPartsPersonalization.cs
- AccessKeyManager.cs
- CapabilitiesRule.cs
- Effect.cs
- OraclePermission.cs
- LocalBuilder.cs
- WebRequest.cs
- TrailingSpaceComparer.cs
- SiteOfOriginContainer.cs
- Keywords.cs
- ForceCopyBuildProvider.cs
- sqlser.cs
- BamlResourceSerializer.cs
- HiddenFieldPageStatePersister.cs
- TextHidden.cs
- HttpEncoder.cs
- PenThreadPool.cs
- XmlSchemaDocumentation.cs
- AsymmetricAlgorithm.cs
- SoapAttributeAttribute.cs
- DesignerDataTableBase.cs