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
- ConfigurationConverterBase.cs
- TextEditorMouse.cs
- DataBindingCollection.cs
- BuildResult.cs
- StateMachine.cs
- DBConnection.cs
- Version.cs
- listitem.cs
- BindingsCollection.cs
- shaperfactoryquerycacheentry.cs
- XmlSequenceWriter.cs
- PageRouteHandler.cs
- AssemblyCache.cs
- StringUtil.cs
- EmptyQuery.cs
- SignedXmlDebugLog.cs
- GridViewCommandEventArgs.cs
- TableRowCollection.cs
- ControlBuilderAttribute.cs
- FrameworkName.cs
- MDIControlStrip.cs
- Style.cs
- TrustManagerPromptUI.cs
- NamespaceList.cs
- nulltextcontainer.cs
- SecurityRuntime.cs
- Panel.cs
- Automation.cs
- PersonalizationEntry.cs
- LocalizedNameDescriptionPair.cs
- AssociationTypeEmitter.cs
- ToolStripOverflowButton.cs
- OrderedDictionaryStateHelper.cs
- SingleAnimationUsingKeyFrames.cs
- QueryResponse.cs
- JavaScriptSerializer.cs
- ColumnCollection.cs
- GridViewCommandEventArgs.cs
- ChangeInterceptorAttribute.cs
- Invariant.cs
- XmlSerializerFactory.cs
- DataGrid.cs
- ProcessingInstructionAction.cs
- AppDomainManager.cs
- QilIterator.cs
- DrawingContextDrawingContextWalker.cs
- CompoundFileReference.cs
- SoapCodeExporter.cs
- AuthenticationManager.cs
- PictureBox.cs
- CryptoProvider.cs
- VisualStyleRenderer.cs
- TextElementEditingBehaviorAttribute.cs
- SignatureHelper.cs
- AccessibleObject.cs
- invalidudtexception.cs
- ThreadAbortException.cs
- XmlReaderSettings.cs
- CompressedStack.cs
- InternalUserCancelledException.cs
- XmlQueryOutput.cs
- PropertyMap.cs
- CompiledRegexRunner.cs
- DataSourceXmlSubItemAttribute.cs
- DataControlFieldCollection.cs
- XmlTextReader.cs
- bidPrivateBase.cs
- DtdParser.cs
- Facet.cs
- TextContainer.cs
- SequentialUshortCollection.cs
- JoinCqlBlock.cs
- DateTimeConverter2.cs
- WebPartManagerDesigner.cs
- CacheSection.cs
- HelpEvent.cs
- QilIterator.cs
- CustomActivityDesigner.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- CatalogUtil.cs
- WorkBatch.cs
- TaskFileService.cs
- NamespaceInfo.cs
- WpfWebRequestHelper.cs
- ByteArrayHelperWithString.cs
- LinkDescriptor.cs
- VoiceSynthesis.cs
- ScalarType.cs
- InplaceBitmapMetadataWriter.cs
- IISMapPath.cs
- ContextStack.cs
- SQlBooleanStorage.cs
- CodeValidator.cs
- ObjectHandle.cs
- LingerOption.cs
- ButtonField.cs
- FileLevelControlBuilderAttribute.cs
- ProcessHostServerConfig.cs
- DeclaredTypeElementCollection.cs
- GrammarBuilder.cs