Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / CompMod / System / ComponentModel / Design / Data / DesignerDataTableBase.cs / 1 / DesignerDataTableBase.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel.Design.Data { using System; using System.Collections; ////// Represents a base table in a data connection. DesignerDataTable and /// DesignerDataView derive from this class. /// public abstract class DesignerDataTableBase { private ICollection _columns; private string _name; private string _owner; ////// protected DesignerDataTableBase(string name) { _name = name; } ////// protected DesignerDataTableBase(string name, string owner) { _name = name; _owner = owner; } ////// The collection of columns in the table. /// public ICollection Columns { get { if (_columns == null) { _columns = CreateColumns(); } return _columns; } } ////// The name of the table. /// public string Name { get { return _name; } } ////// The owner of the table. /// public string Owner { get { return _owner; } } ////// This method will be called the first time the Columns property /// is accessed. It should return a collection of DesignerDataColumn /// objects representing this table's columns. /// protected abstract ICollection CreateColumns(); } } // 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
- DescendantOverDescendantQuery.cs
- NativeRecognizer.cs
- PropertyMap.cs
- wgx_sdk_version.cs
- FixedDSBuilder.cs
- MissingFieldException.cs
- ProxyGenerationError.cs
- PageVisual.cs
- SqlParameter.cs
- SqlClientWrapperSmiStreamChars.cs
- ToolboxSnapDragDropEventArgs.cs
- StreamBodyWriter.cs
- ProviderBase.cs
- regiisutil.cs
- OpacityConverter.cs
- AppearanceEditorPart.cs
- AuthenticatingEventArgs.cs
- RoutingTable.cs
- MessageContractImporter.cs
- MonthChangedEventArgs.cs
- SerializationTrace.cs
- ThreadInterruptedException.cs
- PerformanceCounterLib.cs
- FormatVersion.cs
- Byte.cs
- Panel.cs
- SqlInternalConnection.cs
- EpmSyndicationContentSerializer.cs
- Floater.cs
- Decoder.cs
- SendKeys.cs
- DataControlLinkButton.cs
- ToolStripLabel.cs
- DataObjectCopyingEventArgs.cs
- SafeNativeMethods.cs
- Error.cs
- XmlObjectSerializerReadContextComplex.cs
- Link.cs
- SBCSCodePageEncoding.cs
- NullableConverter.cs
- RenderData.cs
- FontConverter.cs
- BinaryMethodMessage.cs
- ImageSourceConverter.cs
- ProcessModule.cs
- CaseInsensitiveHashCodeProvider.cs
- SecurityUtils.cs
- SqlException.cs
- XmlAnyAttributeAttribute.cs
- TypeHelpers.cs
- ValidatingPropertiesEventArgs.cs
- EventHandlers.cs
- ValueProviderWrapper.cs
- LayoutSettings.cs
- GuidConverter.cs
- CodeDomComponentSerializationService.cs
- SrgsElementList.cs
- Queue.cs
- ReplacementText.cs
- MenuItem.cs
- MatrixTransform.cs
- RotateTransform3D.cs
- GlobalProxySelection.cs
- SendActivityDesigner.cs
- AdapterDictionary.cs
- SecurityTokenValidationException.cs
- PropertyItem.cs
- XmlSchemaObjectTable.cs
- DesignerActionVerbList.cs
- ViewBase.cs
- IgnoreSection.cs
- OpCellTreeNode.cs
- DataControlPagerLinkButton.cs
- HtmlHead.cs
- cookiecontainer.cs
- BuildManagerHost.cs
- ImageMapEventArgs.cs
- ObjectDataSourceWizardForm.cs
- CompilerScopeManager.cs
- PeerNameRecordCollection.cs
- TextEditorParagraphs.cs
- FreezableCollection.cs
- NaturalLanguageHyphenator.cs
- TransformPattern.cs
- ScrollContentPresenter.cs
- CheckBox.cs
- SafeFileMapViewHandle.cs
- SqlConnection.cs
- NestedContainer.cs
- ComboBox.cs
- AQNBuilder.cs
- BooleanProjectedSlot.cs
- XmlILAnnotation.cs
- XPathMultyIterator.cs
- ResourceIDHelper.cs
- CollaborationHelperFunctions.cs
- XhtmlBasicObjectListAdapter.cs
- XmlSchemaDocumentation.cs
- MarshalDirectiveException.cs
- activationcontext.cs