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
- IfJoinedCondition.cs
- SHA384Managed.cs
- PersistenceTypeAttribute.cs
- FrameDimension.cs
- DataListItemCollection.cs
- MSAAWinEventWrap.cs
- MsmqDecodeHelper.cs
- IntSecurity.cs
- InfoCardSymmetricAlgorithm.cs
- BindingSource.cs
- ColumnWidthChangedEvent.cs
- GridViewItemAutomationPeer.cs
- ControlPaint.cs
- DescendentsWalkerBase.cs
- SingleAnimationBase.cs
- ArrayList.cs
- ConsumerConnectionPointCollection.cs
- ProviderException.cs
- DesignerOptionService.cs
- FrameworkContextData.cs
- WebBrowsableAttribute.cs
- _ChunkParse.cs
- ResXFileRef.cs
- MenuEventArgs.cs
- ParameterModifier.cs
- AttributeCollection.cs
- BitmapEffect.cs
- PlatformCulture.cs
- StyleSelector.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- ApplicationCommands.cs
- ByteAnimationUsingKeyFrames.cs
- GlobalizationAssembly.cs
- TransformerTypeCollection.cs
- HighlightVisual.cs
- SystemColors.cs
- InternalTypeHelper.cs
- Panel.cs
- JoinTreeNode.cs
- DBPropSet.cs
- StaticFileHandler.cs
- DispatchWrapper.cs
- ReadOnlyCollectionBase.cs
- Publisher.cs
- ListViewCommandEventArgs.cs
- UnauthorizedWebPart.cs
- HtmlListAdapter.cs
- Parameter.cs
- _FixedSizeReader.cs
- ProfileGroupSettingsCollection.cs
- IdentityValidationException.cs
- EventProxy.cs
- EntitySqlQueryCacheKey.cs
- SelectManyQueryOperator.cs
- XmlElementList.cs
- ProgressiveCrcCalculatingStream.cs
- HtmlShim.cs
- OdbcDataReader.cs
- ActivationServices.cs
- ThumbAutomationPeer.cs
- CustomTypeDescriptor.cs
- RowUpdatedEventArgs.cs
- TextEditorThreadLocalStore.cs
- WsdlBuildProvider.cs
- AddInSegmentDirectoryNotFoundException.cs
- OutputCacheSettings.cs
- AttributeSetAction.cs
- DrawListViewItemEventArgs.cs
- DoubleCollectionConverter.cs
- XmlChildEnumerator.cs
- XmlHelper.cs
- SqlDependencyUtils.cs
- DoWorkEventArgs.cs
- FormParameter.cs
- ImpersonateTokenRef.cs
- TabletCollection.cs
- RegularExpressionValidator.cs
- ContentOperations.cs
- DelimitedListTraceListener.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- BitmapInitialize.cs
- securitycriticaldataformultiplegetandset.cs
- EditorPartCollection.cs
- PlainXmlSerializer.cs
- SystemIPAddressInformation.cs
- DesignerProperties.cs
- ReceiveSecurityHeaderEntry.cs
- TCPClient.cs
- IsolatedStorageFilePermission.cs
- UdpChannelFactory.cs
- SemanticResultKey.cs
- Directory.cs
- SystemWebCachingSectionGroup.cs
- ButtonColumn.cs
- WindowsAuthenticationModule.cs
- BooleanExpr.cs
- InternalControlCollection.cs
- ComponentRenameEvent.cs
- TTSVoice.cs
- SHA384Managed.cs