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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ZoneLinkButton.cs
- OleDbInfoMessageEvent.cs
- DropDownButton.cs
- ListViewAutomationPeer.cs
- DbProviderSpecificTypePropertyAttribute.cs
- CapabilitiesPattern.cs
- PDBReader.cs
- DomNameTable.cs
- XmlNodeWriter.cs
- Exceptions.cs
- CSharpCodeProvider.cs
- TickBar.cs
- XhtmlConformanceSection.cs
- SymbolEqualComparer.cs
- RegexReplacement.cs
- BaseCollection.cs
- BaseServiceProvider.cs
- PerformanceCounterLib.cs
- CAGDesigner.cs
- FixedSOMPage.cs
- MimeWriter.cs
- SizeAnimationUsingKeyFrames.cs
- CatalogPartChrome.cs
- DocumentOrderQuery.cs
- SchemaNotation.cs
- ISAPIApplicationHost.cs
- BaseComponentEditor.cs
- PropertyMapper.cs
- SuppressMessageAttribute.cs
- InputProcessorProfiles.cs
- EntityDataSourceSelectingEventArgs.cs
- URI.cs
- DbModificationCommandTree.cs
- LayoutUtils.cs
- BitmapCodecInfo.cs
- ClockGroup.cs
- LinqToSqlWrapper.cs
- DateTimeUtil.cs
- DataBoundControlAdapter.cs
- ModuleConfigurationInfo.cs
- Literal.cs
- NativeRightsManagementAPIsStructures.cs
- BindableAttribute.cs
- DelegateOutArgument.cs
- SwitchLevelAttribute.cs
- SQLByte.cs
- DataBoundControlAdapter.cs
- EditorResources.cs
- ViewGenResults.cs
- TypeConverterHelper.cs
- Encoder.cs
- WaitHandle.cs
- FileNotFoundException.cs
- VerticalAlignConverter.cs
- DataKey.cs
- ToolbarAUtomationPeer.cs
- SessionPageStatePersister.cs
- DynamicVirtualDiscoSearcher.cs
- ConsoleCancelEventArgs.cs
- BindingList.cs
- SQLBinary.cs
- FileClassifier.cs
- WebPartMenuStyle.cs
- IsolatedStorageFile.cs
- FileInfo.cs
- NativeStructs.cs
- StdRegProviderWrapper.cs
- IISMapPath.cs
- Schema.cs
- TableLayoutRowStyleCollection.cs
- __Filters.cs
- AssemblyBuilder.cs
- RestHandler.cs
- MulticastDelegate.cs
- GlobalEventManager.cs
- ButtonColumn.cs
- UncommonField.cs
- StorageComplexTypeMapping.cs
- BaseUriHelper.cs
- SplineKeyFrames.cs
- FromReply.cs
- ModelUIElement3D.cs
- SuppressMergeCheckAttribute.cs
- RoleServiceManager.cs
- MenuScrollingVisibilityConverter.cs
- DefaultProxySection.cs
- ImpersonationContext.cs
- _HeaderInfoTable.cs
- FontStretch.cs
- ScaleTransform3D.cs
- TreeViewImageGenerator.cs
- BaseInfoTable.cs
- InheritanceAttribute.cs
- NullableFloatMinMaxAggregationOperator.cs
- ConnectionStringSettingsCollection.cs
- UserControl.cs
- X509Certificate2.cs
- DependencyObjectProvider.cs
- COM2FontConverter.cs
- DataGridViewComboBoxColumn.cs