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
- BindingMAnagerBase.cs
- XmlKeywords.cs
- BooleanAnimationBase.cs
- DrawingVisual.cs
- DataGridViewCellValidatingEventArgs.cs
- MILUtilities.cs
- RequestNavigateEventArgs.cs
- BulletDecorator.cs
- Timer.cs
- HostingEnvironment.cs
- SHA384Managed.cs
- TextServicesManager.cs
- AmbientEnvironment.cs
- ItemDragEvent.cs
- HashSet.cs
- BitmapPalette.cs
- ListViewTableRow.cs
- DataGridDetailsPresenter.cs
- TailPinnedEventArgs.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- DocumentPage.cs
- Size.cs
- BStrWrapper.cs
- InputScopeConverter.cs
- CodeTryCatchFinallyStatement.cs
- DbReferenceCollection.cs
- WebPartTracker.cs
- ColorTransform.cs
- DataControlPagerLinkButton.cs
- TextCompositionManager.cs
- PartitionedDataSource.cs
- CommandLineParser.cs
- BufferModeSettings.cs
- FontInfo.cs
- KeyInfo.cs
- FacetValues.cs
- RTLAwareMessageBox.cs
- BaseDataList.cs
- PackageRelationship.cs
- HitTestParameters.cs
- PauseStoryboard.cs
- RTLAwareMessageBox.cs
- COM2ExtendedBrowsingHandler.cs
- ZipIOLocalFileHeader.cs
- FormViewDeletedEventArgs.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- BaseCodePageEncoding.cs
- JsonEncodingStreamWrapper.cs
- XhtmlBasicTextViewAdapter.cs
- HashMembershipCondition.cs
- QueryInterceptorAttribute.cs
- XPathAncestorQuery.cs
- RepeaterItemEventArgs.cs
- WebRequestModuleElement.cs
- Rule.cs
- XmlQueryCardinality.cs
- Point3DAnimationBase.cs
- InlineCollection.cs
- PlainXmlDeserializer.cs
- ThemeableAttribute.cs
- ConnectionProviderAttribute.cs
- TypeLoader.cs
- path.cs
- _LazyAsyncResult.cs
- ToolStripPanelCell.cs
- GlobalEventManager.cs
- TextEditorLists.cs
- BaseCodePageEncoding.cs
- TextViewSelectionProcessor.cs
- WeakReferenceList.cs
- DocumentOrderQuery.cs
- EntitySetDataBindingList.cs
- SurrogateSelector.cs
- HtmlTableCell.cs
- ResourceDescriptionAttribute.cs
- TextSelectionHighlightLayer.cs
- TriggerAction.cs
- IListConverters.cs
- InlineCollection.cs
- HyperLink.cs
- TimelineCollection.cs
- WebPartHeaderCloseVerb.cs
- Expander.cs
- FilteredXmlReader.cs
- HistoryEventArgs.cs
- InvalidEnumArgumentException.cs
- WorkflowInstanceProxy.cs
- UIPermission.cs
- TablePattern.cs
- VirtualPath.cs
- OleDbError.cs
- BindingSource.cs
- AsmxEndpointPickerExtension.cs
- LicenseProviderAttribute.cs
- QilLiteral.cs
- CombinedGeometry.cs
- SequenceDesigner.cs
- Brush.cs
- AuthStoreRoleProvider.cs
- XmlReaderSettings.cs