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
- TransactionOptions.cs
- PageThemeCodeDomTreeGenerator.cs
- SqlCommandBuilder.cs
- ChangeTracker.cs
- HMACSHA512.cs
- ProcessThreadDesigner.cs
- ResXFileRef.cs
- BamlLocalizationDictionary.cs
- WorkflowTransactionService.cs
- DetailsViewInsertedEventArgs.cs
- DisposableCollectionWrapper.cs
- HtmlWindowCollection.cs
- DecoderBestFitFallback.cs
- Array.cs
- SqlNotificationRequest.cs
- Visitor.cs
- ToolStripDropDown.cs
- Properties.cs
- ElementFactory.cs
- UriExt.cs
- ContractAdapter.cs
- HwndHost.cs
- Matrix3DConverter.cs
- XmlUtilWriter.cs
- ProvidersHelper.cs
- HashCryptoHandle.cs
- FormViewDeletedEventArgs.cs
- ObjectListDataBindEventArgs.cs
- PersonalizationStateInfo.cs
- WorkflowViewService.cs
- XsltFunctions.cs
- XsltContext.cs
- XamlReader.cs
- MenuRendererStandards.cs
- NumericUpDownAccelerationCollection.cs
- RadioButtonList.cs
- ByteStorage.cs
- SmtpNtlmAuthenticationModule.cs
- BulletedListEventArgs.cs
- ClipboardProcessor.cs
- Point3DAnimation.cs
- QilLoop.cs
- ToolStripContainerDesigner.cs
- WebBrowserEvent.cs
- UIElementCollection.cs
- TextTreeText.cs
- AutomationElementIdentifiers.cs
- Color.cs
- IconHelper.cs
- SafeLocalMemHandle.cs
- RtfNavigator.cs
- AssemblyNameProxy.cs
- CodeArrayIndexerExpression.cs
- HashLookup.cs
- SqlDataSourceConnectionPanel.cs
- XamlReader.cs
- TimeManager.cs
- XmlDictionary.cs
- FontStretch.cs
- Control.cs
- SafeBitVector32.cs
- ClientReliableChannelBinder.cs
- TemplateBindingExtension.cs
- IndexedString.cs
- OdbcCommand.cs
- ContentWrapperAttribute.cs
- ExtractorMetadata.cs
- BitmapVisualManager.cs
- LinkLabelLinkClickedEvent.cs
- xml.cs
- MethodCallTranslator.cs
- SystemThemeKey.cs
- XmlSchemaAnnotation.cs
- FileEnumerator.cs
- FixUpCollection.cs
- ProxyWebPart.cs
- dbenumerator.cs
- WizardStepBase.cs
- FactoryRecord.cs
- RtType.cs
- GuidelineCollection.cs
- TimeSpanStorage.cs
- XmlDownloadManager.cs
- ArrangedElementCollection.cs
- XsltCompileContext.cs
- Int64Animation.cs
- OdbcDataAdapter.cs
- WorkflowPageSetupDialog.cs
- DataGridDetailsPresenter.cs
- QueryCacheEntry.cs
- LinkUtilities.cs
- C14NUtil.cs
- PropertyCondition.cs
- GridItemCollection.cs
- ReceiveActivityDesigner.cs
- LinqDataSourceHelper.cs
- EntityDesignerUtils.cs
- SafeNativeMethods.cs
- ProxyWebPart.cs
- DrawToolTipEventArgs.cs