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
- TextElement.cs
- TextDecorationUnitValidation.cs
- JoinElimination.cs
- ArraySegment.cs
- DoubleAnimationUsingPath.cs
- ProgressPage.cs
- BStrWrapper.cs
- BaseTemplatedMobileComponentEditor.cs
- ClientSession.cs
- ChildrenQuery.cs
- Normalizer.cs
- RenameRuleObjectDialog.Designer.cs
- HoistedLocals.cs
- DataGridCellEditEndingEventArgs.cs
- BitmapSizeOptions.cs
- DocumentAutomationPeer.cs
- DataControlLinkButton.cs
- Transform.cs
- tooltip.cs
- Invariant.cs
- NavigationCommands.cs
- TileBrush.cs
- Brush.cs
- XsdDateTime.cs
- PTConverter.cs
- SafeSecurityHandles.cs
- UnsafeNativeMethods.cs
- ServiceHost.cs
- SelectionEditor.cs
- Wildcard.cs
- RenamedEventArgs.cs
- Msec.cs
- XmlSchemaObjectTable.cs
- CreationContext.cs
- ListControlConvertEventArgs.cs
- DocumentApplicationJournalEntry.cs
- MobileSysDescriptionAttribute.cs
- NumberFormatInfo.cs
- SingleResultAttribute.cs
- PrintPreviewDialog.cs
- Mouse.cs
- XpsInterleavingPolicy.cs
- Size3D.cs
- Number.cs
- Validator.cs
- CodeCatchClause.cs
- RegexStringValidator.cs
- ResolveMatchesMessage11.cs
- GenericAuthenticationEventArgs.cs
- Encoding.cs
- OleCmdHelper.cs
- OdbcEnvironment.cs
- Frame.cs
- CommonGetThemePartSize.cs
- TextEditorMouse.cs
- ThemeableAttribute.cs
- MemberExpressionHelper.cs
- CommandTreeTypeHelper.cs
- ProtectedConfigurationProviderCollection.cs
- DesignerActionMethodItem.cs
- XsltException.cs
- X509ServiceCertificateAuthentication.cs
- TextEditorLists.cs
- TrimSurroundingWhitespaceAttribute.cs
- SuppressIldasmAttribute.cs
- DateTimeOffsetAdapter.cs
- ColumnResizeUndoUnit.cs
- MessagePartProtectionMode.cs
- PropertyTabAttribute.cs
- ExcludeFromCodeCoverageAttribute.cs
- StreamInfo.cs
- Pointer.cs
- ConfigurationValues.cs
- EncoderNLS.cs
- TypeConverter.cs
- AssertSection.cs
- RectangleConverter.cs
- EventDescriptor.cs
- DocumentCollection.cs
- CounterSample.cs
- Vector3DCollectionConverter.cs
- HttpCapabilitiesEvaluator.cs
- SecurityTokenResolver.cs
- EventSinkHelperWriter.cs
- XmlDataLoader.cs
- OdbcEnvironmentHandle.cs
- coordinator.cs
- MouseButton.cs
- DefaultEvaluationContext.cs
- PrivilegedConfigurationManager.cs
- ButtonColumn.cs
- BooleanFunctions.cs
- COM2Enum.cs
- SoapInteropTypes.cs
- FontUnitConverter.cs
- ClientRolePrincipal.cs
- PreviewPageInfo.cs
- OleDbMetaDataFactory.cs
- SettingsAttributes.cs
- PenThread.cs