Code:
/ FX-1434 / FX-1434 / 1.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
- SelectedDatesCollection.cs
- StatusBarItemAutomationPeer.cs
- StatusBarItem.cs
- EntityCommandExecutionException.cs
- MenuItemBindingCollection.cs
- CharKeyFrameCollection.cs
- WithStatement.cs
- OleServicesContext.cs
- XmlDataLoader.cs
- ParameterToken.cs
- SymbolEqualComparer.cs
- WizardForm.cs
- smtppermission.cs
- OSFeature.cs
- ShaperBuffers.cs
- MyContact.cs
- AttachedPropertiesService.cs
- ValidationRule.cs
- FormViewPageEventArgs.cs
- filewebresponse.cs
- HwndPanningFeedback.cs
- CodeCommentStatementCollection.cs
- ParallelQuery.cs
- PageThemeParser.cs
- PageContentCollection.cs
- PointLightBase.cs
- EdmItemCollection.cs
- __ConsoleStream.cs
- Camera.cs
- MsmqIntegrationChannelListener.cs
- AutomationPropertyInfo.cs
- PageTheme.cs
- OlePropertyStructs.cs
- UpdateManifestForBrowserApplication.cs
- ToolstripProfessionalRenderer.cs
- LayoutDump.cs
- TextDecorationCollection.cs
- StatusBarPanelClickEvent.cs
- ListViewContainer.cs
- PointAnimationBase.cs
- StorageFunctionMapping.cs
- indexingfiltermarshaler.cs
- Config.cs
- MarkupWriter.cs
- querybuilder.cs
- TransportSecurityProtocol.cs
- HuffCodec.cs
- RolePrincipal.cs
- CompositeKey.cs
- RuntimeHelpers.cs
- InputLanguageEventArgs.cs
- _ScatterGatherBuffers.cs
- MarginsConverter.cs
- EditorZoneBase.cs
- EventLogConfiguration.cs
- MessagePropertyVariants.cs
- ParallelTimeline.cs
- EpmTargetPathSegment.cs
- XmlWriter.cs
- FrameworkObject.cs
- TraceUtility.cs
- PluggableProtocol.cs
- GeneralTransform3DGroup.cs
- SiteMembershipCondition.cs
- Vector3DCollectionValueSerializer.cs
- cryptoapiTransform.cs
- ProxyWebPartManager.cs
- HttpRuntimeSection.cs
- ObjectListGeneralPage.cs
- EpmContentDeSerializer.cs
- XmlDocument.cs
- ToolStripDropDownItem.cs
- ObjectKeyFrameCollection.cs
- BeginStoryboard.cs
- TagPrefixInfo.cs
- RecognitionEventArgs.cs
- errorpatternmatcher.cs
- ArraySet.cs
- CacheRequest.cs
- DisableDpiAwarenessAttribute.cs
- CollectionExtensions.cs
- SchemaNamespaceManager.cs
- PersonalizationStateInfoCollection.cs
- ConvertEvent.cs
- DataGridViewRowStateChangedEventArgs.cs
- PackageDigitalSignatureManager.cs
- List.cs
- MenuItemBindingCollection.cs
- RegisteredScript.cs
- DynamicQueryStringParameter.cs
- DataTablePropertyDescriptor.cs
- BuildProvidersCompiler.cs
- FileFormatException.cs
- ToolStripDropDownClosingEventArgs.cs
- MetadataWorkspace.cs
- PropertyManager.cs
- AsyncDataRequest.cs
- TagPrefixAttribute.cs
- GlyphInfoList.cs
- SqlFormatter.cs