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
- UICuesEvent.cs
- NumericUpDownAcceleration.cs
- Validator.cs
- EntityTypeEmitter.cs
- DiscoveryReferences.cs
- ErrorInfoXmlDocument.cs
- TypeSchema.cs
- TableLayoutStyleCollection.cs
- TextEditorSpelling.cs
- SerializerDescriptor.cs
- RenderTargetBitmap.cs
- AppModelKnownContentFactory.cs
- KeyboardDevice.cs
- WebHttpBindingCollectionElement.cs
- DesignerSerializationOptionsAttribute.cs
- Sequence.cs
- EncoderExceptionFallback.cs
- XmlSchemaFacet.cs
- BaseDataListComponentEditor.cs
- ParallelTimeline.cs
- SystemUdpStatistics.cs
- FullTextState.cs
- ArrayExtension.cs
- ExtendedPropertyCollection.cs
- TextPenaltyModule.cs
- BaseComponentEditor.cs
- ResXResourceReader.cs
- UTF32Encoding.cs
- CodeSnippetStatement.cs
- DiscoveryDocument.cs
- LoaderAllocator.cs
- IEnumerable.cs
- ExternalFile.cs
- DataControlFieldCollection.cs
- ErrorProvider.cs
- StreamInfo.cs
- RangeValuePatternIdentifiers.cs
- RegexFCD.cs
- ApplicationId.cs
- AspCompat.cs
- GradientBrush.cs
- AdRotator.cs
- SqlDelegatedTransaction.cs
- SiteOfOriginPart.cs
- RightsManagementPermission.cs
- Semaphore.cs
- PerfProviderCollection.cs
- AliasedSlot.cs
- CustomErrorCollection.cs
- FigureParaClient.cs
- MemberCollection.cs
- IndexExpression.cs
- XmlSchemaComplexContentRestriction.cs
- DesignerSerializationOptionsAttribute.cs
- Condition.cs
- BitmapEffectOutputConnector.cs
- Comparer.cs
- Compiler.cs
- StylusCollection.cs
- InputScope.cs
- BindMarkupExtensionSerializer.cs
- InertiaTranslationBehavior.cs
- TextEditorTyping.cs
- DefaultValidator.cs
- MergeFilterQuery.cs
- DispatchChannelSink.cs
- HttpWebResponse.cs
- TransformGroup.cs
- XmlElementAttribute.cs
- BulletedList.cs
- MimeXmlImporter.cs
- EntityDataSourceWizardForm.cs
- SrgsRulesCollection.cs
- ListControlDesigner.cs
- TemplatedWizardStep.cs
- XmlIlVisitor.cs
- FilterEventArgs.cs
- SqlCommandBuilder.cs
- ActionFrame.cs
- HttpResponseHeader.cs
- TargetPerspective.cs
- CaseInsensitiveComparer.cs
- CleanUpVirtualizedItemEventArgs.cs
- FunctionNode.cs
- CommentAction.cs
- XmlComplianceUtil.cs
- DPAPIProtectedConfigurationProvider.cs
- SaveFileDialog.cs
- BitmapEncoder.cs
- EnterpriseServicesHelper.cs
- ProxyElement.cs
- BamlRecordWriter.cs
- CheckBoxStandardAdapter.cs
- App.cs
- ToolboxComponentsCreatedEventArgs.cs
- ButtonChrome.cs
- IImplicitResourceProvider.cs
- OrderedDictionaryStateHelper.cs
- httpapplicationstate.cs
- TextChangedEventArgs.cs