Code:
/ FX-1434 / FX-1434 / 1.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
- BitmapEffectGroup.cs
- SQLDecimal.cs
- ProfileGroupSettings.cs
- XamlSerializationHelper.cs
- ErasingStroke.cs
- TypefaceMap.cs
- XomlDesignerLoader.cs
- DetailsViewRow.cs
- TemplateManager.cs
- PublisherIdentityPermission.cs
- RequestCache.cs
- DeferredRunTextReference.cs
- BufferedGenericXmlSecurityToken.cs
- MethodImplAttribute.cs
- FilteredReadOnlyMetadataCollection.cs
- EdmMember.cs
- StylusPointProperties.cs
- COM2PropertyPageUITypeConverter.cs
- LocatorBase.cs
- ClipboardData.cs
- CompletionBookmark.cs
- JsonSerializer.cs
- DirectoryNotFoundException.cs
- Activation.cs
- CurrencyManager.cs
- HiddenField.cs
- X509Chain.cs
- MasterPageParser.cs
- QuaternionAnimationBase.cs
- DataFieldCollectionEditor.cs
- Border.cs
- CodeGotoStatement.cs
- Range.cs
- HtmlControl.cs
- EdmItemError.cs
- HtmlLink.cs
- HtmlInputImage.cs
- FormViewRow.cs
- TemplateBindingExpressionConverter.cs
- ImmutableClientRuntime.cs
- DisposableCollectionWrapper.cs
- ContractComponent.cs
- EntityProviderFactory.cs
- ReplyChannel.cs
- ServicePoint.cs
- ColorAnimation.cs
- BaseParaClient.cs
- WebPartTransformerAttribute.cs
- EmptyEnumerable.cs
- DesignerLinkAdapter.cs
- XsdDuration.cs
- DiscoveryMessageSequenceCD1.cs
- DecoderExceptionFallback.cs
- RuntimeCompatibilityAttribute.cs
- SqlCommand.cs
- CodeTypeReferenceCollection.cs
- StrokeNode.cs
- _RegBlobWebProxyDataBuilder.cs
- ScrollChrome.cs
- DelimitedListTraceListener.cs
- X509RawDataKeyIdentifierClause.cs
- PartialArray.cs
- TraversalRequest.cs
- XamlRtfConverter.cs
- SpeakInfo.cs
- VectorValueSerializer.cs
- XmlSchemaAll.cs
- AttributeData.cs
- EmptyElement.cs
- FixedBufferAttribute.cs
- AssemblyAttributesGoHere.cs
- XmlSchemaNotation.cs
- DataSourceCacheDurationConverter.cs
- PackageDigitalSignatureManager.cs
- ScriptingJsonSerializationSection.cs
- DataSvcMapFile.cs
- ServiceParser.cs
- PrintDialog.cs
- PageSettings.cs
- CheckedListBox.cs
- UpdateException.cs
- SqlTransaction.cs
- SystemTcpConnection.cs
- PropertyEmitterBase.cs
- XPathDocumentNavigator.cs
- PropertyGridView.cs
- ControlTemplate.cs
- SafeRightsManagementHandle.cs
- HasCopySemanticsAttribute.cs
- XmlSecureResolver.cs
- DragDeltaEventArgs.cs
- WarningException.cs
- Configuration.cs
- FixedFindEngine.cs
- SiblingIterators.cs
- FlowDocument.cs
- Rotation3DAnimationUsingKeyFrames.cs
- Maps.cs
- UnescapedXmlDiagnosticData.cs
- followingquery.cs