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
- ListItemCollection.cs
- Polygon.cs
- DocumentViewerBaseAutomationPeer.cs
- Int32Collection.cs
- ApplicationFileParser.cs
- IOThreadTimer.cs
- InputElement.cs
- DataPagerFieldItem.cs
- Camera.cs
- FormViewUpdatedEventArgs.cs
- AsyncOperationContext.cs
- Suspend.cs
- MetricEntry.cs
- ReferencedType.cs
- ElementAtQueryOperator.cs
- documentsequencetextcontainer.cs
- SystemColors.cs
- parserscommon.cs
- DefaultBinder.cs
- DataKeyArray.cs
- MenuAutomationPeer.cs
- AuthenticationModuleElement.cs
- HiddenFieldPageStatePersister.cs
- DivideByZeroException.cs
- ActiveXSite.cs
- FreeFormPanel.cs
- TextElementAutomationPeer.cs
- BufferedGraphicsManager.cs
- ExceptionCollection.cs
- Resources.Designer.cs
- Propagator.ExtentPlaceholderCreator.cs
- StackBuilderSink.cs
- ValueQuery.cs
- LongValidator.cs
- TagPrefixInfo.cs
- CodeSubDirectoriesCollection.cs
- EmptyEnumerable.cs
- OleDbCommandBuilder.cs
- ADRoleFactoryConfiguration.cs
- DataGridViewCellFormattingEventArgs.cs
- SecurityKeyEntropyMode.cs
- ComPlusThreadInitializer.cs
- ReadOnlyPermissionSet.cs
- UnitySerializationHolder.cs
- EventLogger.cs
- ArglessEventHandlerProxy.cs
- DataMemberConverter.cs
- WindowProviderWrapper.cs
- DtdParser.cs
- PropertyConverter.cs
- WaveHeader.cs
- StateMachineHistory.cs
- SignerInfo.cs
- LinqDataSourceContextEventArgs.cs
- StopStoryboard.cs
- DataServiceStreamResponse.cs
- MulticastNotSupportedException.cs
- SelectionList.cs
- AssociatedControlConverter.cs
- DebugController.cs
- PeerCollaboration.cs
- BackoffTimeoutHelper.cs
- SaveFileDialog.cs
- CultureSpecificStringDictionary.cs
- ValuePattern.cs
- FileDialog.cs
- StringConcat.cs
- GridViewUpdateEventArgs.cs
- Overlapped.cs
- EnumerableRowCollectionExtensions.cs
- BindingBase.cs
- CompilationLock.cs
- Binding.cs
- CodeAccessSecurityEngine.cs
- EventLogPermission.cs
- StylusPointPropertyUnit.cs
- ScrollProviderWrapper.cs
- HttpRequestContext.cs
- ApplicationServiceHelper.cs
- _TransmitFileOverlappedAsyncResult.cs
- KeyFrames.cs
- propertytag.cs
- ZipIORawDataFileBlock.cs
- UInt64Converter.cs
- LinqDataSourceInsertEventArgs.cs
- File.cs
- BitmapCacheBrush.cs
- SqlClientWrapperSmiStreamChars.cs
- VirtualPathData.cs
- Subtree.cs
- ArgIterator.cs
- DefaultBindingPropertyAttribute.cs
- DbProviderManifest.cs
- WebControlsSection.cs
- BamlLocalizableResourceKey.cs
- XmlAnyAttributeAttribute.cs
- HybridObjectCache.cs
- SystemIPv6InterfaceProperties.cs
- HMACSHA1.cs
- EventDescriptor.cs