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
- GeometryDrawing.cs
- ThemeInfoAttribute.cs
- DataIdProcessor.cs
- Preprocessor.cs
- PropertyKey.cs
- BezierSegment.cs
- ProfileManager.cs
- MediaPlayer.cs
- LayoutUtils.cs
- DiscoveryMessageSequenceGenerator.cs
- FormatterServices.cs
- ContainsRowNumberChecker.cs
- Decorator.cs
- CacheEntry.cs
- MarshalByRefObject.cs
- String.cs
- PopupRootAutomationPeer.cs
- HandlerFactoryCache.cs
- BitmapEffectrendercontext.cs
- XmlValidatingReaderImpl.cs
- LowerCaseStringConverter.cs
- EntityDataSourceSelectingEventArgs.cs
- XmlIlVisitor.cs
- UnknownBitmapDecoder.cs
- RegexGroupCollection.cs
- Control.cs
- ProxyWebPartConnectionCollection.cs
- IsolatedStorageFileStream.cs
- MeasurementDCInfo.cs
- ConnectionManagementElementCollection.cs
- DropShadowBitmapEffect.cs
- LineGeometry.cs
- SystemIPv4InterfaceProperties.cs
- EventDescriptor.cs
- DropDownButton.cs
- SingleResultAttribute.cs
- thaishape.cs
- OrderByBuilder.cs
- DrawingGroup.cs
- ToolTip.cs
- OleAutBinder.cs
- CodeExpressionCollection.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- documentsequencetextpointer.cs
- IListConverters.cs
- WebBrowser.cs
- ButtonFieldBase.cs
- TablePattern.cs
- DrawingGroupDrawingContext.cs
- UncommonField.cs
- CodeDomSerializerException.cs
- ModifierKeysValueSerializer.cs
- CharacterBufferReference.cs
- UriExt.cs
- WebPartPersonalization.cs
- PenContexts.cs
- CodeArrayCreateExpression.cs
- TextAdaptor.cs
- DataPagerFieldCollection.cs
- DataGridViewBindingCompleteEventArgs.cs
- GifBitmapEncoder.cs
- RegexRunner.cs
- ComEventsInfo.cs
- SymmetricAlgorithm.cs
- ReturnEventArgs.cs
- FixedSOMTable.cs
- MasterPage.cs
- ListViewUpdatedEventArgs.cs
- XmlNamespaceManager.cs
- LoadedOrUnloadedOperation.cs
- InvokeMethodActivity.cs
- EntityProxyFactory.cs
- CounterSetInstanceCounterDataSet.cs
- DataGridPagerStyle.cs
- ListBoxAutomationPeer.cs
- DataGridViewRowStateChangedEventArgs.cs
- DataGridRelationshipRow.cs
- SuppressIldasmAttribute.cs
- SqlProviderServices.cs
- ListBoxItemAutomationPeer.cs
- TripleDESCryptoServiceProvider.cs
- Point3DCollection.cs
- ContainerParaClient.cs
- ReflectTypeDescriptionProvider.cs
- HighlightVisual.cs
- HttpHostedTransportConfiguration.cs
- ReliabilityContractAttribute.cs
- ZipFileInfo.cs
- SQLBoolean.cs
- RectAnimationClockResource.cs
- PasswordRecovery.cs
- XmlSchemaObjectCollection.cs
- SerializationStore.cs
- MobileControlDesigner.cs
- SocketStream.cs
- EntitySqlQueryState.cs
- KeyGesture.cs
- DataGridPagerStyle.cs
- PreparingEnlistment.cs
- WeakEventManager.cs