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
- LocalizationCodeDomSerializer.cs
- QueryCacheManager.cs
- Animatable.cs
- UnitControl.cs
- ListViewGroupCollectionEditor.cs
- SafeRegistryHandle.cs
- Imaging.cs
- ZipIOBlockManager.cs
- UpdateExpressionVisitor.cs
- FrameDimension.cs
- FormatConvertedBitmap.cs
- TempFiles.cs
- CommonRemoteMemoryBlock.cs
- FrameworkRichTextComposition.cs
- LoadGrammarCompletedEventArgs.cs
- iisPickupDirectory.cs
- RootBrowserWindow.cs
- ToolBarPanel.cs
- Context.cs
- TranslateTransform.cs
- BaseTreeIterator.cs
- EntryWrittenEventArgs.cs
- CustomWebEventKey.cs
- CodeArrayCreateExpression.cs
- ValidationEventArgs.cs
- KeyMatchBuilder.cs
- GlobalizationAssembly.cs
- MissingMethodException.cs
- securitymgrsite.cs
- ClassImporter.cs
- StateRuntime.cs
- WindowVisualStateTracker.cs
- ApplicationId.cs
- EventWaitHandle.cs
- EnvelopedPkcs7.cs
- ServiceHost.cs
- TaskForm.cs
- AccessViolationException.cs
- SimpleRecyclingCache.cs
- Matrix3D.cs
- ThicknessAnimation.cs
- ControlValuePropertyAttribute.cs
- CharStorage.cs
- ErrorWebPart.cs
- XmlUnspecifiedAttribute.cs
- FormsAuthenticationUser.cs
- SamlDoNotCacheCondition.cs
- StateManagedCollection.cs
- dataobject.cs
- HMACRIPEMD160.cs
- BuildProvidersCompiler.cs
- newinstructionaction.cs
- ErrorsHelper.cs
- DataGridToolTip.cs
- ResourceExpressionEditorSheet.cs
- CalendarDay.cs
- RedirectionProxy.cs
- BaseParser.cs
- ValidatingReaderNodeData.cs
- Matrix3DConverter.cs
- LassoHelper.cs
- QilXmlReader.cs
- tooltip.cs
- Stackframe.cs
- WindowsSysHeader.cs
- XmlEncodedRawTextWriter.cs
- WindowsStatic.cs
- EventMappingSettings.cs
- TextRangeEditTables.cs
- InputLangChangeEvent.cs
- LogReservationCollection.cs
- ChildDocumentBlock.cs
- RequestCachePolicyConverter.cs
- DaylightTime.cs
- documentsequencetextcontainer.cs
- assertwrapper.cs
- Util.cs
- SqlLiftWhereClauses.cs
- TextInfo.cs
- CodeExpressionCollection.cs
- CLSCompliantAttribute.cs
- MsmqIntegrationReceiveParameters.cs
- MetadataCollection.cs
- TdsRecordBufferSetter.cs
- StringDictionaryCodeDomSerializer.cs
- XmlSchemaSimpleContentExtension.cs
- ImageButton.cs
- Model3DGroup.cs
- DataGridDesigner.cs
- EntitySqlException.cs
- DataGridViewCellLinkedList.cs
- TypeDescriptor.cs
- ZeroOpNode.cs
- ProgressiveCrcCalculatingStream.cs
- MethodBuilder.cs
- XmlILCommand.cs
- ProjectionCamera.cs
- TextModifierScope.cs
- DataViewListener.cs
- HotSpot.cs