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
- Mutex.cs
- FieldMetadata.cs
- TimeSpanMinutesConverter.cs
- RoleBoolean.cs
- EntityDataSourceValidationException.cs
- ListBindingConverter.cs
- BitmapDownload.cs
- CheckBoxBaseAdapter.cs
- HandlerMappingMemo.cs
- ClusterSafeNativeMethods.cs
- PrivateFontCollection.cs
- InputReferenceExpression.cs
- TextEditorMouse.cs
- ClockGroup.cs
- MailHeaderInfo.cs
- PrintDialogException.cs
- CompositionCommandSet.cs
- EngineSiteSapi.cs
- ToolStripRenderEventArgs.cs
- PassportPrincipal.cs
- AlternateViewCollection.cs
- ImageSourceConverter.cs
- BidOverLoads.cs
- UIElement.cs
- BamlBinaryReader.cs
- Binding.cs
- SystemIPInterfaceProperties.cs
- PropertyValue.cs
- ButtonChrome.cs
- StringFormat.cs
- CompositeScriptReference.cs
- RawMouseInputReport.cs
- contentDescriptor.cs
- PasswordRecovery.cs
- OdbcParameterCollection.cs
- ProgressBar.cs
- Thickness.cs
- ReliableRequestSessionChannel.cs
- InsufficientExecutionStackException.cs
- CompressStream.cs
- TextSimpleMarkerProperties.cs
- PartManifestEntry.cs
- WebException.cs
- TextDecorationCollection.cs
- Deserializer.cs
- KeyConstraint.cs
- cookie.cs
- VectorCollectionValueSerializer.cs
- Double.cs
- SocketInformation.cs
- LogWriteRestartAreaAsyncResult.cs
- DocumentSequence.cs
- ClosureBinding.cs
- InkCanvasSelection.cs
- HotSpot.cs
- CSharpCodeProvider.cs
- XmlAttributes.cs
- ProcessModuleDesigner.cs
- ContentFilePart.cs
- Menu.cs
- SqlVersion.cs
- MergeFilterQuery.cs
- Marshal.cs
- StorageComplexPropertyMapping.cs
- ZeroOpNode.cs
- PriorityQueue.cs
- ProfileSection.cs
- SessionPageStateSection.cs
- DbDataRecord.cs
- DataServiceSaveChangesEventArgs.cs
- LingerOption.cs
- TypeDescriptor.cs
- MachineKeyConverter.cs
- EventProviderClassic.cs
- SchemaTypeEmitter.cs
- ComponentConverter.cs
- UdpMessageProperty.cs
- ConstructorNeedsTagAttribute.cs
- ExpressionWriter.cs
- Menu.cs
- GridViewCellAutomationPeer.cs
- DataPagerFieldCollection.cs
- VisualTreeUtils.cs
- EventLogTraceListener.cs
- PlatformNotSupportedException.cs
- CodeAttributeDeclarationCollection.cs
- cookie.cs
- AttachedAnnotationChangedEventArgs.cs
- WebHttpBehavior.cs
- TransportBindingElement.cs
- HttpModuleAction.cs
- DateTimeOffsetStorage.cs
- BitmapEffectCollection.cs
- EdmComplexTypeAttribute.cs
- XmlReaderDelegator.cs
- TypeToArgumentTypeConverter.cs
- EnvelopedSignatureTransform.cs
- MenuItem.cs
- PublisherIdentityPermission.cs
- BlurBitmapEffect.cs