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
- RuleInfoComparer.cs
- MaskInputRejectedEventArgs.cs
- DispatchWrapper.cs
- ParameterDataSourceExpression.cs
- SqlDataReaderSmi.cs
- XsdSchemaFileEditor.cs
- GuidelineSet.cs
- HttpProcessUtility.cs
- WebEvents.cs
- TextServicesCompartmentEventSink.cs
- XmlLoader.cs
- BindingGroup.cs
- WizardStepBase.cs
- TriggerCollection.cs
- ToolboxComponentsCreatedEventArgs.cs
- AssemblyResourceLoader.cs
- DataGridViewRowCancelEventArgs.cs
- RawStylusInputCustomDataList.cs
- ComUdtElement.cs
- ConnectionConsumerAttribute.cs
- FrameworkTemplate.cs
- TimelineClockCollection.cs
- CollectionBase.cs
- OperationAbortedException.cs
- SourceFileBuildProvider.cs
- DefaultTypeArgumentAttribute.cs
- XmlComplianceUtil.cs
- StringKeyFrameCollection.cs
- TypeDelegator.cs
- ECDiffieHellmanPublicKey.cs
- SqlAggregateChecker.cs
- ThreadAttributes.cs
- TreeNodeBinding.cs
- ProfileSettingsCollection.cs
- FileEnumerator.cs
- SerializationSectionGroup.cs
- MustUnderstandSoapException.cs
- ImageMapEventArgs.cs
- DefaultDiscoveryService.cs
- WebPartVerb.cs
- ScriptingProfileServiceSection.cs
- InputEventArgs.cs
- ListenerElementsCollection.cs
- EventLogPermissionEntry.cs
- XMLUtil.cs
- SequenceNumber.cs
- ResourceReader.cs
- DataTableNewRowEvent.cs
- SingleAnimationBase.cs
- ColumnClickEvent.cs
- Command.cs
- MemoryFailPoint.cs
- KeyTimeConverter.cs
- GridViewSortEventArgs.cs
- StandardMenuStripVerb.cs
- AppSecurityManager.cs
- RubberbandSelector.cs
- Visual.cs
- MetadataArtifactLoaderFile.cs
- RtfFormatStack.cs
- XmlNodeChangedEventArgs.cs
- MeshGeometry3D.cs
- ConnectionConsumerAttribute.cs
- ErrorHandler.cs
- PeerUnsafeNativeCryptMethods.cs
- TextEffectCollection.cs
- DeobfuscatingStream.cs
- TextComposition.cs
- HtmlTextArea.cs
- DiscoveryClientElement.cs
- UnsafeNativeMethods.cs
- ParsedRoute.cs
- NullReferenceException.cs
- InlineUIContainer.cs
- XPathPatternBuilder.cs
- RangeExpression.cs
- SubclassTypeValidator.cs
- ProbeDuplexCD1AsyncResult.cs
- FastPropertyAccessor.cs
- CodeSnippetTypeMember.cs
- XmlWrappingReader.cs
- Thread.cs
- CryptographicAttribute.cs
- ApplicationId.cs
- ISSmlParser.cs
- dbenumerator.cs
- ProxyElement.cs
- ObjectConverter.cs
- StreamingContext.cs
- OptionalMessageQuery.cs
- TextSimpleMarkerProperties.cs
- PasswordTextNavigator.cs
- ForeignConstraint.cs
- RenderOptions.cs
- NetPeerTcpBindingElement.cs
- SafeNativeMethods.cs
- NumberSubstitution.cs
- UnauthorizedAccessException.cs
- CallbackValidator.cs
- SqlOuterApplyReducer.cs