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
- InputLangChangeEvent.cs
- StrokeCollection.cs
- TemplateApplicationHelper.cs
- TextDecorationUnitValidation.cs
- counter.cs
- ChunkedMemoryStream.cs
- BitmapEffectInputConnector.cs
- ObjectQuery_EntitySqlExtensions.cs
- AuthenticationService.cs
- ExpressionEditorSheet.cs
- EventProviderWriter.cs
- SystemIcmpV4Statistics.cs
- DatagridviewDisplayedBandsData.cs
- ToolStripContentPanelRenderEventArgs.cs
- EventListener.cs
- ListDictionaryInternal.cs
- ApplicationContext.cs
- MouseBinding.cs
- XmlDataLoader.cs
- IntMinMaxAggregationOperator.cs
- SelectionEditor.cs
- WebControlAdapter.cs
- Tokenizer.cs
- DependentList.cs
- RegexTree.cs
- AlphabeticalEnumConverter.cs
- RadioButton.cs
- WebPartDisplayModeCancelEventArgs.cs
- NonSerializedAttribute.cs
- MsmqQueue.cs
- CustomErrorsSection.cs
- DataGridViewRowPostPaintEventArgs.cs
- SpellerHighlightLayer.cs
- GenericIdentity.cs
- FormViewCommandEventArgs.cs
- Schema.cs
- ToolStripPanelRow.cs
- RegexParser.cs
- IxmlLineInfo.cs
- OpCellTreeNode.cs
- CodeTypeOfExpression.cs
- WSHttpBindingCollectionElement.cs
- CodeBinaryOperatorExpression.cs
- SystemInfo.cs
- ObjectQuery_EntitySqlExtensions.cs
- AnchoredBlock.cs
- Hex.cs
- PagedDataSource.cs
- BufferedOutputStream.cs
- ParserStack.cs
- EventPrivateKey.cs
- COM2Enum.cs
- ConfigurationErrorsException.cs
- CodeNamespaceCollection.cs
- TraceSection.cs
- FormClosedEvent.cs
- TimelineGroup.cs
- SqlAggregateChecker.cs
- UnknownBitmapEncoder.cs
- EntityViewGenerationConstants.cs
- RecommendedAsConfigurableAttribute.cs
- TaskFactory.cs
- oledbmetadatacolumnnames.cs
- RelationalExpressions.cs
- EntityDesignerBuildProvider.cs
- DataPagerFieldCollection.cs
- ParallelDesigner.xaml.cs
- SqlClientWrapperSmiStreamChars.cs
- IPGlobalProperties.cs
- JournalEntry.cs
- ReachPageContentCollectionSerializerAsync.cs
- sitestring.cs
- XmlSchemaCollection.cs
- Simplifier.cs
- CqlIdentifiers.cs
- Vector.cs
- RSACryptoServiceProvider.cs
- GradientBrush.cs
- NavigationPropertyEmitter.cs
- InternalResources.cs
- ClientSettingsSection.cs
- CssClassPropertyAttribute.cs
- RadioButtonRenderer.cs
- GridLengthConverter.cs
- ScrollViewerAutomationPeer.cs
- Bidi.cs
- ToolStripHighContrastRenderer.cs
- COM2ICategorizePropertiesHandler.cs
- OleDbParameter.cs
- TransactionFlowAttribute.cs
- SingleConverter.cs
- Track.cs
- SecurityRuntime.cs
- ParameterModifier.cs
- PlatformCulture.cs
- Translator.cs
- ExpressionBuilder.cs
- View.cs
- XmlnsCompatibleWithAttribute.cs
- NativeCompoundFileAPIs.cs