Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / CompMod / System / ComponentModel / Design / Data / DesignerDataRelationship.cs / 1 / DesignerDataRelationship.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel.Design.Data { using System; using System.Collections; ////// Represents a 1-to-1 or 1-to-many relationship between two tables in a /// data connection. A collection of this type is returned from the /// DesignerDataTable.Relationships property. /// public sealed class DesignerDataRelationship { private ICollection _childColumns; private DesignerDataTable _childTable; private string _name; private ICollection _parentColumns; ////// public DesignerDataRelationship(string name, ICollection parentColumns, DesignerDataTable childTable, ICollection childColumns) { _childColumns = childColumns; _childTable = childTable; _name = name; _parentColumns = parentColumns; } ////// The columns in the child table that are part of the relationship. /// public ICollection ChildColumns { get { return _childColumns; } } ////// The child table referenced by this relationship. /// public DesignerDataTable ChildTable { get { return _childTable; } } ////// The name of the relationship, if any. /// public string Name { get { return _name; } } ////// The columns in the parent table that are part of the relationship. /// public ICollection ParentColumns { get { return _parentColumns; } } } } // 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
- SqlDataSourceParameterParser.cs
- BackgroundWorker.cs
- ModifierKeysConverter.cs
- Task.cs
- Helpers.cs
- ToolStripContentPanel.cs
- XmlSchemaElement.cs
- UnsafeNativeMethods.cs
- ExpandCollapsePatternIdentifiers.cs
- DetailsViewDeletedEventArgs.cs
- CheckBoxRenderer.cs
- SqlGenerator.cs
- SqlProcedureAttribute.cs
- ToolStripDropDownItem.cs
- HostedTcpTransportManager.cs
- DocobjHost.cs
- Base64Stream.cs
- PreloadedPackages.cs
- QilParameter.cs
- GeometryValueSerializer.cs
- DesignerVerbCollection.cs
- GetIndexBinder.cs
- ResourceCollectionInfo.cs
- LinkDescriptor.cs
- MatrixValueSerializer.cs
- IndexOutOfRangeException.cs
- MimeMultiPart.cs
- OleServicesContext.cs
- ComEventsSink.cs
- OleDbRowUpdatingEvent.cs
- EnumMemberAttribute.cs
- CopyAttributesAction.cs
- PresentationUIStyleResources.cs
- FormViewPagerRow.cs
- Viewport3DVisual.cs
- TreeWalkHelper.cs
- ControlCachePolicy.cs
- WindowPattern.cs
- SQLDecimal.cs
- TableLayoutSettings.cs
- XsdDuration.cs
- Thumb.cs
- JavaScriptString.cs
- KeyToListMap.cs
- ExceptionHandlerDesigner.cs
- StylusEditingBehavior.cs
- ZipPackage.cs
- LoaderAllocator.cs
- DynamicActionMessageFilter.cs
- ColumnWidthChangingEvent.cs
- LocalizedNameDescriptionPair.cs
- MappingItemCollection.cs
- PropertiesTab.cs
- Maps.cs
- SolidColorBrush.cs
- DbProviderFactory.cs
- CodeIndexerExpression.cs
- XPathBinder.cs
- ManipulationLogic.cs
- ConfigXmlElement.cs
- ProjectionPruner.cs
- BlockUIContainer.cs
- VirtualDirectoryMapping.cs
- DataControlImageButton.cs
- SmtpClient.cs
- mediaeventargs.cs
- DataGridRow.cs
- ComponentRenameEvent.cs
- DataSourceProvider.cs
- ResourceWriter.cs
- PresentationAppDomainManager.cs
- QilGeneratorEnv.cs
- RangeValueProviderWrapper.cs
- PreProcessor.cs
- LayoutInformation.cs
- TransformDescriptor.cs
- Array.cs
- HtmlDocument.cs
- OleDbTransaction.cs
- TdsParserStaticMethods.cs
- ThicknessAnimationBase.cs
- Attribute.cs
- TextEncodedRawTextWriter.cs
- ListViewDeletedEventArgs.cs
- XmlSchemaAll.cs
- PrintPreviewGraphics.cs
- XmlDictionaryReaderQuotas.cs
- ColumnWidthChangedEvent.cs
- PageParser.cs
- DbParameterHelper.cs
- ColumnReorderedEventArgs.cs
- ImageAutomationPeer.cs
- FilteredAttributeCollection.cs
- SafeFileMappingHandle.cs
- TextTreeObjectNode.cs
- XmlSchemaSimpleContentRestriction.cs
- UriExt.cs
- ValidationErrorCollection.cs
- SecurityException.cs
- TreeNode.cs