Code:
/ DotNET / DotNET / 8.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
- CookieProtection.cs
- DataSvcMapFileSerializer.cs
- DataMisalignedException.cs
- PeerResolver.cs
- Oid.cs
- PageCatalogPart.cs
- XamlFigureLengthSerializer.cs
- Page.cs
- AccessViolationException.cs
- TableCellCollection.cs
- MouseOverProperty.cs
- AssemblyHash.cs
- DateTimeParse.cs
- Debug.cs
- ProfileProvider.cs
- ReliableInputConnection.cs
- DataListItemEventArgs.cs
- DecoderReplacementFallback.cs
- TextEmbeddedObject.cs
- NumberEdit.cs
- Model3DGroup.cs
- MetadataArtifactLoaderFile.cs
- NullRuntimeConfig.cs
- BitmapCacheBrush.cs
- WebZone.cs
- ISO2022Encoding.cs
- WebPartConnectionsDisconnectVerb.cs
- RootDesignerSerializerAttribute.cs
- _NegoState.cs
- Opcode.cs
- IntSumAggregationOperator.cs
- OdbcConnectionFactory.cs
- MasterPageBuildProvider.cs
- ExpressionConverter.cs
- InternalBufferOverflowException.cs
- BuildDependencySet.cs
- InkPresenterAutomationPeer.cs
- MenuItemAutomationPeer.cs
- Transactions.cs
- PropertyCollection.cs
- HttpPostLocalhostServerProtocol.cs
- ToggleButton.cs
- ProviderConnectionPointCollection.cs
- StyleSelector.cs
- InfoCardCryptoHelper.cs
- recordstate.cs
- Part.cs
- ClientSponsor.cs
- WebContext.cs
- _SecureChannel.cs
- ProfileBuildProvider.cs
- DataSourceSelectArguments.cs
- X509ScopedServiceCertificateElement.cs
- TreeNodeCollection.cs
- DrawingGroup.cs
- Binding.cs
- ByteAnimationUsingKeyFrames.cs
- RuntimeEnvironment.cs
- CellTreeNode.cs
- Vector3DIndependentAnimationStorage.cs
- HttpWrapper.cs
- SoapProtocolReflector.cs
- HtmlControl.cs
- RenderDataDrawingContext.cs
- FixedSOMTextRun.cs
- DynamicAttribute.cs
- TimeStampChecker.cs
- SelectionService.cs
- OperationAbortedException.cs
- CloseCryptoHandleRequest.cs
- CustomWebEventKey.cs
- ResourceDescriptionAttribute.cs
- SafeFileMappingHandle.cs
- LambdaCompiler.Address.cs
- XamlFilter.cs
- SoapTransportImporter.cs
- Nodes.cs
- XmlSchemaFacet.cs
- MouseGesture.cs
- BitmapPalettes.cs
- SqlInternalConnectionTds.cs
- SimpleWebHandlerParser.cs
- MarkupExtensionParser.cs
- PersistNameAttribute.cs
- MenuCommandsChangedEventArgs.cs
- ProfileGroupSettingsCollection.cs
- Math.cs
- DomainUpDown.cs
- ArraySortHelper.cs
- RSAPKCS1KeyExchangeFormatter.cs
- HelpHtmlBuilder.cs
- RegexRunnerFactory.cs
- EncoderFallback.cs
- TraceContext.cs
- BamlLocalizableResource.cs
- WebHttpBindingCollectionElement.cs
- GridItemPattern.cs
- DataControlFieldCell.cs
- BitmapEffectInputData.cs
- FixedTextView.cs