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
- CommandTreeTypeHelper.cs
- TextEditorMouse.cs
- XmlWhitespace.cs
- SineEase.cs
- HiddenField.cs
- XmlSerializationWriter.cs
- HtmlTableRow.cs
- Button.cs
- DataKeyArray.cs
- UTF32Encoding.cs
- DateTimeStorage.cs
- LambdaValue.cs
- ItemsPanelTemplate.cs
- CancellationHandlerDesigner.cs
- ByteStreamBufferedMessageData.cs
- SignedXmlDebugLog.cs
- StringAnimationUsingKeyFrames.cs
- WorkflowDefinitionDispenser.cs
- WebPartPersonalization.cs
- AccessControlEntry.cs
- MergePropertyDescriptor.cs
- XsltCompileContext.cs
- BufferedReadStream.cs
- Section.cs
- JsonEncodingStreamWrapper.cs
- InputScopeManager.cs
- FixedBufferAttribute.cs
- DecimalConstantAttribute.cs
- Thickness.cs
- SetMemberBinder.cs
- UnicastIPAddressInformationCollection.cs
- BitmapSizeOptions.cs
- MenuCommandsChangedEventArgs.cs
- PageBuildProvider.cs
- LassoSelectionBehavior.cs
- KeyValueSerializer.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- ScrollItemPattern.cs
- DataGridViewButtonCell.cs
- SequentialWorkflowRootDesigner.cs
- DecoderNLS.cs
- SuppressMergeCheckAttribute.cs
- SchemaExporter.cs
- WebPartHeaderCloseVerb.cs
- DataGridViewAdvancedBorderStyle.cs
- StreamingContext.cs
- ProcessHostServerConfig.cs
- CodeMethodReturnStatement.cs
- ContentDefinition.cs
- ConnectionManagementElementCollection.cs
- TreeViewEvent.cs
- TemplateBindingExtensionConverter.cs
- ListViewCommandEventArgs.cs
- TextParaLineResult.cs
- XmlSignatureProperties.cs
- MessageSecurityOverHttpElement.cs
- DeleteBookmarkScope.cs
- ActiveXSite.cs
- ParallelTimeline.cs
- Pens.cs
- BaseValidatorDesigner.cs
- XamlStyleSerializer.cs
- SpeechAudioFormatInfo.cs
- Number.cs
- HttpWrapper.cs
- Int32Collection.cs
- PerformanceCounter.cs
- ObjectCacheHost.cs
- XsdDuration.cs
- GenericTypeParameterBuilder.cs
- AspNetSynchronizationContext.cs
- FontResourceCache.cs
- ClientEventManager.cs
- ListCommandEventArgs.cs
- DictionarySurrogate.cs
- DebuggerService.cs
- ToolStripLabel.cs
- TextEditorContextMenu.cs
- RangeBaseAutomationPeer.cs
- ObsoleteAttribute.cs
- DataBoundLiteralControl.cs
- ProvideValueServiceProvider.cs
- cache.cs
- TableAdapterManagerMethodGenerator.cs
- BitmapSource.cs
- FakeModelPropertyImpl.cs
- LayoutEngine.cs
- PauseStoryboard.cs
- CreatingCookieEventArgs.cs
- Classification.cs
- XmlSchemaSimpleContent.cs
- ZipIOLocalFileDataDescriptor.cs
- AspNetCacheProfileAttribute.cs
- ServicePoint.cs
- BindingContext.cs
- ChildTable.cs
- CountdownEvent.cs
- CSharpCodeProvider.cs
- _emptywebproxy.cs
- PropertyFilter.cs