Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / CompMod / System / ComponentModel / Design / Data / DesignerDataTable.cs / 1 / DesignerDataTable.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.ComponentModel.Design.Data {
using System;
using System.Collections;
///
/// Represents a single table in a data connection. A collection of this
/// type is returned from IDesignerDataSchema.GetSchemaItems when it is
/// passed DesignerDataSchemaClass.Tables.
///
public abstract class DesignerDataTable : DesignerDataTableBase {
private ICollection _relationships;
///
///
protected DesignerDataTable(string name) : base(name) {
}
///
///
protected DesignerDataTable(string name, string owner) : base(name, owner) {
}
///
/// The collection of relationships in the table.
///
public ICollection Relationships {
get {
if (_relationships == null) {
_relationships = CreateRelationships();
}
return _relationships;
}
}
///
/// This method will be called the first time the Relationships
/// property is accessed. It should return a collection of
/// DesignerDataRelationship objects representing this table's
/// columns.
///
protected abstract ICollection CreateRelationships();
}
}
// 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
- SplitterPanelDesigner.cs
- URI.cs
- Helpers.cs
- MemoryMappedViewStream.cs
- HwndStylusInputProvider.cs
- TickBar.cs
- FormatConvertedBitmap.cs
- ScrollChrome.cs
- Attributes.cs
- Events.cs
- TypeSemantics.cs
- SHA256.cs
- UserNameSecurityTokenAuthenticator.cs
- SchemeSettingElement.cs
- SessionEndedEventArgs.cs
- SpeechDetectedEventArgs.cs
- WindowInteropHelper.cs
- DefaultEventAttribute.cs
- AvTraceDetails.cs
- CaseInsensitiveComparer.cs
- HtmlMeta.cs
- FrameworkElementFactoryMarkupObject.cs
- CachedFontFace.cs
- Normalization.cs
- StreamInfo.cs
- EventDescriptor.cs
- odbcmetadatacollectionnames.cs
- BoolExpression.cs
- FullTrustAssemblyCollection.cs
- SuppressMessageAttribute.cs
- KnownColorTable.cs
- SoapSchemaMember.cs
- EntryIndex.cs
- NegotiateStream.cs
- JsonStringDataContract.cs
- HttpRuntime.cs
- ViewBox.cs
- AssociatedControlConverter.cs
- ObjectDataSourceDisposingEventArgs.cs
- LicenseException.cs
- TraceContext.cs
- CultureTableRecord.cs
- FaultDesigner.cs
- CanonicalXml.cs
- ViewGenerator.cs
- BuildResultCache.cs
- BinHexEncoder.cs
- ExtenderProvidedPropertyAttribute.cs
- TextEditorLists.cs
- NumberFormatInfo.cs
- IdnElement.cs
- Root.cs
- NumberSubstitution.cs
- MetadataCache.cs
- XslNumber.cs
- ProxyElement.cs
- GrammarBuilderBase.cs
- AnonymousIdentificationSection.cs
- CommonGetThemePartSize.cs
- FlagPanel.cs
- BinaryKeyIdentifierClause.cs
- BaseComponentEditor.cs
- XMLSchema.cs
- ConnectionPoolManager.cs
- Primitive.cs
- Grammar.cs
- WindowsSlider.cs
- InternalConfigConfigurationFactory.cs
- Transform.cs
- SqlDataSourceAdvancedOptionsForm.cs
- SubclassTypeValidatorAttribute.cs
- _SslStream.cs
- SectionInput.cs
- KoreanLunisolarCalendar.cs
- RuntimeArgumentHandle.cs
- CodeAccessSecurityEngine.cs
- SpeakProgressEventArgs.cs
- RectangleF.cs
- GridPattern.cs
- UnsafeNativeMethods.cs
- Metadata.cs
- TextContainerChangeEventArgs.cs
- DataColumn.cs
- PropertyIDSet.cs
- NodeLabelEditEvent.cs
- PeerNearMe.cs
- DataGridViewTextBoxEditingControl.cs
- RealizedColumnsBlock.cs
- AssemblyBuilder.cs
- ArrayTypeMismatchException.cs
- QueuePathEditor.cs
- WebPartsPersonalizationAuthorization.cs
- OleDbMetaDataFactory.cs
- CodeDomSerializationProvider.cs
- RtfToXamlReader.cs
- _AuthenticationState.cs
- InteropAutomationProvider.cs
- TypeConverterValueSerializer.cs
- UnauthorizedAccessException.cs
- IssuerInformation.cs