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
- RectAnimationUsingKeyFrames.cs
- EnumValidator.cs
- Size3D.cs
- XmlBinaryWriterSession.cs
- C14NUtil.cs
- Unit.cs
- TransactionTable.cs
- ZoomPercentageConverter.cs
- TextDecorationUnitValidation.cs
- ContextMarshalException.cs
- CachedPathData.cs
- TypefaceMetricsCache.cs
- ThaiBuddhistCalendar.cs
- SmtpCommands.cs
- XPathDocumentNavigator.cs
- SoapExtension.cs
- MenuItem.cs
- DisposableCollectionWrapper.cs
- Permission.cs
- SQLChars.cs
- OLEDB_Enum.cs
- TextEffectCollection.cs
- SystemWebCachingSectionGroup.cs
- httpapplicationstate.cs
- CodeGeneratorOptions.cs
- AndCondition.cs
- HandleCollector.cs
- ListBindingHelper.cs
- SuppressIldasmAttribute.cs
- SmiEventSink.cs
- SystemMulticastIPAddressInformation.cs
- FilteredAttributeCollection.cs
- StrokeDescriptor.cs
- DbConnectionInternal.cs
- NotFiniteNumberException.cs
- MgmtResManager.cs
- VirtualPathData.cs
- DurableRuntimeValidator.cs
- ActivityExecutionContext.cs
- MediaElement.cs
- CollectionType.cs
- WriteTimeStream.cs
- VectorCollectionConverter.cs
- TripleDESCryptoServiceProvider.cs
- CrossSiteScriptingValidation.cs
- ItemCheckEvent.cs
- DataGridColumnHeaderAutomationPeer.cs
- RegexCompiler.cs
- AssemblyGen.cs
- DataPagerFieldCommandEventArgs.cs
- FieldValue.cs
- NamedPipeHostedTransportConfiguration.cs
- IndentedWriter.cs
- SQLDecimal.cs
- ExtendedPropertyDescriptor.cs
- AdornerPresentationContext.cs
- LogicalCallContext.cs
- QilIterator.cs
- MessageDecoder.cs
- QueryConverter.cs
- MediaTimeline.cs
- assertwrapper.cs
- Property.cs
- GridViewCommandEventArgs.cs
- QilSortKey.cs
- Deflater.cs
- NativeMethods.cs
- TrustManagerPromptUI.cs
- Exceptions.cs
- documentsequencetextview.cs
- DataGridColumnCollectionEditor.cs
- AnnotationObservableCollection.cs
- CodeCommentStatementCollection.cs
- CreateRefExpr.cs
- BooleanKeyFrameCollection.cs
- DataSourceCache.cs
- SqlNodeAnnotations.cs
- JsonFormatWriterGenerator.cs
- Soap12FormatExtensions.cs
- ProjectionAnalyzer.cs
- HtmlInputFile.cs
- ContractMapping.cs
- AdobeCFFWrapper.cs
- COM2EnumConverter.cs
- SByte.cs
- TypedDataSourceCodeGenerator.cs
- EnterpriseServicesHelper.cs
- UmAlQuraCalendar.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- QueryLifecycle.cs
- ValueUtilsSmi.cs
- ErrorProvider.cs
- DragDropManager.cs
- ConnectionPoolManager.cs
- ParseChildrenAsPropertiesAttribute.cs
- ConfigurationStrings.cs
- DbProviderFactories.cs
- EntitySqlException.cs
- graph.cs
- WorkflowInstanceUnhandledExceptionRecord.cs