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
- LocalizationParserHooks.cs
- AnnotationComponentManager.cs
- FormClosedEvent.cs
- OrthographicCamera.cs
- EntityModelSchemaGenerator.cs
- StrokeIntersection.cs
- WorkflowOwnerAsyncResult.cs
- ExpressionBindingsDialog.cs
- Thread.cs
- PageCatalogPart.cs
- HttpModuleAction.cs
- UInt32.cs
- NativeObjectSecurity.cs
- Size3DConverter.cs
- Util.cs
- FlowPosition.cs
- ValidationRuleCollection.cs
- ZoomPercentageConverter.cs
- OneOfConst.cs
- NamespaceListProperty.cs
- ProxyGenerator.cs
- TypeUtils.cs
- HttpHandlerActionCollection.cs
- BamlRecordReader.cs
- SQLGuidStorage.cs
- ApplicationBuildProvider.cs
- Expander.cs
- PreDigestedSignedInfo.cs
- HotSpotCollection.cs
- CompoundFileStreamReference.cs
- DockAndAnchorLayout.cs
- SqlNodeAnnotation.cs
- BinHexEncoding.cs
- SecurityPermission.cs
- OneWayBindingElement.cs
- Document.cs
- ReadOnlyNameValueCollection.cs
- WebReferenceCollection.cs
- SystemBrushes.cs
- ReferenceList.cs
- IndexerReference.cs
- SeekStoryboard.cs
- DrawingContext.cs
- StylusDevice.cs
- UrlPath.cs
- DbConnectionPoolGroup.cs
- MeshGeometry3D.cs
- AssertSection.cs
- InkCanvasSelectionAdorner.cs
- RevocationPoint.cs
- MenuItemCollectionEditorDialog.cs
- Switch.cs
- _ProxyChain.cs
- Header.cs
- OleDbEnumerator.cs
- AccessKeyManager.cs
- commandenforcer.cs
- ConstructorExpr.cs
- PublisherMembershipCondition.cs
- NonSerializedAttribute.cs
- FilterQuery.cs
- ExecutionPropertyManager.cs
- DataGridViewComboBoxColumnDesigner.cs
- HwndHostAutomationPeer.cs
- PeerNodeAddress.cs
- NamespaceEmitter.cs
- MimeObjectFactory.cs
- WebPartConnectionsEventArgs.cs
- CompositeFontInfo.cs
- HtmlContainerControl.cs
- MergeLocalizationDirectives.cs
- DecodeHelper.cs
- DropSource.cs
- SecurityContext.cs
- RuleSettings.cs
- SiteMapHierarchicalDataSourceView.cs
- XmlSchemaAttribute.cs
- SqlCharStream.cs
- ModifyActivitiesPropertyDescriptor.cs
- WindowsAuthenticationModule.cs
- DocumentsTrace.cs
- MULTI_QI.cs
- DbInsertCommandTree.cs
- FormattedTextSymbols.cs
- XsltInput.cs
- RandomNumberGenerator.cs
- ViewgenContext.cs
- DispatcherExceptionFilterEventArgs.cs
- XmlWrappingWriter.cs
- GridViewAutomationPeer.cs
- FreezableCollection.cs
- ScalarType.cs
- DataGridColumn.cs
- TextTreeExtractElementUndoUnit.cs
- TabControlToolboxItem.cs
- WebPartManager.cs
- BCryptSafeHandles.cs
- _AutoWebProxyScriptWrapper.cs
- Helpers.cs
- DataKey.cs