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
- Mappings.cs
- GenerateTemporaryTargetAssembly.cs
- ListItem.cs
- PropertyToken.cs
- ObjectMemberMapping.cs
- DATA_BLOB.cs
- CollectionChangedEventManager.cs
- XmlWrappingReader.cs
- RubberbandSelector.cs
- ListViewUpdateEventArgs.cs
- DbParameterCollectionHelper.cs
- TypeBrowserDialog.cs
- SpeechSeg.cs
- MatrixUtil.cs
- ProjectionPruner.cs
- GeometryHitTestResult.cs
- CodeDOMUtility.cs
- CoreSwitches.cs
- VectorCollection.cs
- ImmutableCollection.cs
- DragAssistanceManager.cs
- ObjectToken.cs
- SecUtil.cs
- ObjectDataSourceEventArgs.cs
- ButtonColumn.cs
- ServiceAuthorizationManager.cs
- KeyboardNavigation.cs
- RootProjectionNode.cs
- CompiledQuery.cs
- PointF.cs
- DefaultPerformanceCounters.cs
- VSWCFServiceContractGenerator.cs
- GeneralTransform.cs
- PageHandlerFactory.cs
- oledbmetadatacollectionnames.cs
- UnsafeNativeMethodsTablet.cs
- HostProtectionException.cs
- _TransmitFileOverlappedAsyncResult.cs
- Help.cs
- UIElement3DAutomationPeer.cs
- SqlUnionizer.cs
- Point4DValueSerializer.cs
- CustomErrorCollection.cs
- BoundColumn.cs
- MappingModelBuildProvider.cs
- SspiWrapper.cs
- SynchronizedDispatch.cs
- CollectionType.cs
- DataList.cs
- MenuItem.cs
- RowToFieldTransformer.cs
- XDeferredAxisSource.cs
- XmlWriterSettings.cs
- TabControlAutomationPeer.cs
- ComProxy.cs
- Int32CollectionConverter.cs
- DataRecord.cs
- NamespaceInfo.cs
- RegistryConfigurationProvider.cs
- StreamGeometryContext.cs
- CellTreeNode.cs
- TextSimpleMarkerProperties.cs
- DataGridItem.cs
- SoapSchemaMember.cs
- TransactionInformation.cs
- WebPartConnectionCollection.cs
- LogSwitch.cs
- EllipseGeometry.cs
- HtmlWindow.cs
- BuildResult.cs
- AmbientLight.cs
- Delegate.cs
- CustomAssemblyResolver.cs
- util.cs
- ConfigurationErrorsException.cs
- OSFeature.cs
- Vector3DAnimationBase.cs
- ListDependantCardsRequest.cs
- ThreadStaticAttribute.cs
- UrlAuthorizationModule.cs
- ModifierKeysValueSerializer.cs
- Utility.cs
- TemplatingOptionsDialog.cs
- TransformConverter.cs
- TraceRecord.cs
- BoundsDrawingContextWalker.cs
- ListViewSortEventArgs.cs
- TextBoxBase.cs
- XsltException.cs
- Point3DAnimationUsingKeyFrames.cs
- Validator.cs
- StringUtil.cs
- CollectionViewProxy.cs
- DeflateStream.cs
- ArglessEventHandlerProxy.cs
- Panel.cs
- LaxModeSecurityHeaderElementInferenceEngine.cs
- DataGridParentRows.cs
- XPathArrayIterator.cs
- XmlSchemaAll.cs