Code:
/ FX-1434 / FX-1434 / 1.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
- DoubleCollectionConverter.cs
- AssociationTypeEmitter.cs
- QilStrConcat.cs
- ConfigXmlText.cs
- LiteralControl.cs
- CommandField.cs
- Site.cs
- ContentElement.cs
- PointAnimation.cs
- SecureEnvironment.cs
- ExtractorMetadata.cs
- ModifierKeysConverter.cs
- CommandLibraryHelper.cs
- OrderingQueryOperator.cs
- CreateUserWizard.cs
- ButtonStandardAdapter.cs
- DataPagerField.cs
- ChildTable.cs
- RuntimeHelpers.cs
- CommandConverter.cs
- SecuritySessionSecurityTokenAuthenticator.cs
- SelectionProcessor.cs
- DataGridViewCellValidatingEventArgs.cs
- StringConcat.cs
- DependencyObject.cs
- ObjectListComponentEditor.cs
- XmlSignatureManifest.cs
- DeferredBinaryDeserializerExtension.cs
- Pkcs9Attribute.cs
- ItemPager.cs
- PageBreakRecord.cs
- FormViewModeEventArgs.cs
- TextTreeNode.cs
- AstTree.cs
- DataGridViewTextBoxColumn.cs
- NavigationPropertyEmitter.cs
- SystemUnicastIPAddressInformation.cs
- MultipartIdentifier.cs
- XDRSchema.cs
- ObjectItemLoadingSessionData.cs
- OleDbFactory.cs
- DataListCommandEventArgs.cs
- TabControlEvent.cs
- AppliedDeviceFiltersDialog.cs
- MediaSystem.cs
- TransformerTypeCollection.cs
- FlowDocumentScrollViewer.cs
- XmlDataSource.cs
- FloatSumAggregationOperator.cs
- ButtonChrome.cs
- Imaging.cs
- SafeRightsManagementEnvironmentHandle.cs
- DataGridViewColumnCollection.cs
- Hashtable.cs
- ReadOnlyDataSource.cs
- EasingQuaternionKeyFrame.cs
- Pair.cs
- MulticastNotSupportedException.cs
- SqlConnectionHelper.cs
- ImmutableObjectAttribute.cs
- EntityDataSourceReferenceGroup.cs
- CookieParameter.cs
- TypeReference.cs
- NavigationHelper.cs
- _emptywebproxy.cs
- LogLogRecord.cs
- ObjectStateEntryDbDataRecord.cs
- JavaScriptString.cs
- OleDbCommandBuilder.cs
- SqlNode.cs
- RenamedEventArgs.cs
- WindowAutomationPeer.cs
- XD.cs
- RegexParser.cs
- DrawingAttributeSerializer.cs
- WebPartMovingEventArgs.cs
- HMACSHA1.cs
- SetterBaseCollection.cs
- DrawingContextDrawingContextWalker.cs
- LookupNode.cs
- InkCanvas.cs
- DataServiceQuery.cs
- RegexCharClass.cs
- SkinBuilder.cs
- AuthenticateEventArgs.cs
- PreservationFileWriter.cs
- AutomationPeer.cs
- OutputCacheSettings.cs
- PropertyValueUIItem.cs
- XmlTextAttribute.cs
- DataGridViewComboBoxColumn.cs
- ConfigXmlSignificantWhitespace.cs
- XmlSchema.cs
- WindowsScrollBarBits.cs
- TagNameToTypeMapper.cs
- NamespaceDisplay.xaml.cs
- KnownColorTable.cs
- DesignerActionKeyboardBehavior.cs
- XmlSchemaComplexType.cs
- ComponentCommands.cs