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
- ToolboxItemAttribute.cs
- TypeLibConverter.cs
- FormViewRow.cs
- CompositionTarget.cs
- ReflectionPermission.cs
- QilLiteral.cs
- CmsInterop.cs
- EventPrivateKey.cs
- FragmentQueryKB.cs
- DateTimeConverter2.cs
- MarkupProperty.cs
- ObjectListFieldCollection.cs
- ScalarConstant.cs
- XmlObjectSerializerReadContextComplexJson.cs
- Currency.cs
- AsyncContentLoadedEventArgs.cs
- OpCellTreeNode.cs
- PropertyIDSet.cs
- Int64.cs
- CaseExpr.cs
- ProfessionalColors.cs
- DataPointer.cs
- DataTrigger.cs
- ThreadInterruptedException.cs
- BamlLocalizer.cs
- AssemblyEvidenceFactory.cs
- ClonableStack.cs
- Matrix.cs
- StylusButtonEventArgs.cs
- PopOutPanel.cs
- ImmutableObjectAttribute.cs
- DefaultShape.cs
- Assembly.cs
- LexicalChunk.cs
- WebPartChrome.cs
- ResolveCriteriaApril2005.cs
- PathSegmentCollection.cs
- SqlAliasesReferenced.cs
- DataSourceHelper.cs
- PassportIdentity.cs
- ACL.cs
- PixelFormats.cs
- WmpBitmapEncoder.cs
- Logging.cs
- Item.cs
- PeerEndPoint.cs
- SmtpTransport.cs
- AuthStoreRoleProvider.cs
- SQLInt32Storage.cs
- XmlEntity.cs
- QueryStoreStatusRequest.cs
- RectConverter.cs
- FileEnumerator.cs
- TakeQueryOptionExpression.cs
- base64Transforms.cs
- MatrixTransform3D.cs
- xml.cs
- QueryExpr.cs
- HyperLinkField.cs
- SignatureGenerator.cs
- SyndicationElementExtensionCollection.cs
- IndentTextWriter.cs
- WebCategoryAttribute.cs
- ExcludePathInfo.cs
- PrintPreviewGraphics.cs
- HostSecurityManager.cs
- MaskedTextBoxTextEditorDropDown.cs
- GrammarBuilderBase.cs
- UriTemplateTableMatchCandidate.cs
- DictionarySectionHandler.cs
- SaveWorkflowCommand.cs
- TypeBuilderInstantiation.cs
- querybuilder.cs
- KnownBoxes.cs
- SymbolMethod.cs
- InstanceCreationEditor.cs
- DocumentPropertiesDialog.cs
- ParserOptions.cs
- XmlEventCache.cs
- ConfigurationLocationCollection.cs
- HttpContextServiceHost.cs
- HttpFileCollection.cs
- SatelliteContractVersionAttribute.cs
- ValueSerializer.cs
- ProfileProvider.cs
- TypedColumnHandler.cs
- WebAdminConfigurationHelper.cs
- SerializableTypeCodeDomSerializer.cs
- ConnectionStringsSection.cs
- SelectionPatternIdentifiers.cs
- TextRange.cs
- QueryActivatableWorkflowsCommand.cs
- VisualCollection.cs
- Version.cs
- VirtualPathProvider.cs
- MultiPageTextView.cs
- DirectionalLight.cs
- WebRequestModuleElementCollection.cs
- ScrollProviderWrapper.cs
- BindingContext.cs