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
- ListViewItem.cs
- TextTrailingWordEllipsis.cs
- SystemIPInterfaceStatistics.cs
- InvalidCastException.cs
- ColumnBinding.cs
- TemplateControlParser.cs
- TextRunTypographyProperties.cs
- Blend.cs
- ContentHostHelper.cs
- EntryPointNotFoundException.cs
- OpenTypeLayout.cs
- LZCodec.cs
- ToolStripItemCollection.cs
- ImageInfo.cs
- GeometryHitTestResult.cs
- WebPartAuthorizationEventArgs.cs
- TypeValidationEventArgs.cs
- JoinCqlBlock.cs
- CqlParser.cs
- Parameter.cs
- SafeMemoryMappedFileHandle.cs
- ApplicationDirectory.cs
- RecordConverter.cs
- MenuAutomationPeer.cs
- LinkedDataMemberFieldEditor.cs
- SqlProviderUtilities.cs
- BuildResultCache.cs
- MenuScrollingVisibilityConverter.cs
- NavigationHelper.cs
- FileDialogCustomPlace.cs
- NotificationContext.cs
- StylusPointPropertyInfo.cs
- ExtensionWindow.cs
- HotCommands.cs
- httpserverutility.cs
- TextBlock.cs
- DataExpression.cs
- TextLineResult.cs
- XPathNodeList.cs
- ProtocolViolationException.cs
- RegistryExceptionHelper.cs
- InstanceDataCollection.cs
- ShapingEngine.cs
- InkCanvasSelection.cs
- HttpRawResponse.cs
- ConfigXmlAttribute.cs
- TextSegment.cs
- MiniMapControl.xaml.cs
- _AuthenticationState.cs
- ResXBuildProvider.cs
- ByteAnimationUsingKeyFrames.cs
- MessageUtil.cs
- XmlSchemaChoice.cs
- Triplet.cs
- SqlTrackingQuery.cs
- RegexCharClass.cs
- ServiceOperationViewControl.cs
- AdvancedBindingPropertyDescriptor.cs
- DataGridState.cs
- SecurityPolicySection.cs
- SingleConverter.cs
- WindowsGrip.cs
- Point.cs
- FrameworkElement.cs
- VisualTarget.cs
- InputBuffer.cs
- Journal.cs
- OleDbEnumerator.cs
- RepeatEnumerable.cs
- DayRenderEvent.cs
- DragDeltaEventArgs.cs
- CryptoKeySecurity.cs
- Compiler.cs
- DateTimeStorage.cs
- SqlClientFactory.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- ConfigurationSection.cs
- XsdBuilder.cs
- SchemaNotation.cs
- DeflateStream.cs
- OuterGlowBitmapEffect.cs
- CategoryAttribute.cs
- TrustSection.cs
- ScriptBehaviorDescriptor.cs
- ProxyFragment.cs
- XmlSchemaComplexType.cs
- EndpointConfigContainer.cs
- XsdDataContractImporter.cs
- Thumb.cs
- figurelength.cs
- JsonSerializer.cs
- BinaryConverter.cs
- CodeTypeReferenceCollection.cs
- CompilationUtil.cs
- InstanceLockLostException.cs
- CheckBox.cs
- CodeAttributeArgument.cs
- TypefaceMetricsCache.cs
- AuditLog.cs
- ArgIterator.cs