Code:
/ DotNET / DotNET / 8.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
- FixedSOMContainer.cs
- ProcessProtocolHandler.cs
- HttpCacheParams.cs
- ListenerElementsCollection.cs
- DecoderNLS.cs
- TextChange.cs
- RemoveStoryboard.cs
- XmlSecureResolver.cs
- MetadataExporter.cs
- RedistVersionInfo.cs
- FunctionDetailsReader.cs
- SoapIncludeAttribute.cs
- ApplicationServicesHostFactory.cs
- CodeTypeParameterCollection.cs
- FocusWithinProperty.cs
- EntityFunctions.cs
- CommandBinding.cs
- ItemCollection.cs
- mediaclock.cs
- Reference.cs
- _ChunkParse.cs
- ProcessHostServerConfig.cs
- ReferencedAssembly.cs
- UpdateExpressionVisitor.cs
- NotifyIcon.cs
- CopyEncoder.cs
- ClientConvert.cs
- PathGeometry.cs
- WindowsAltTab.cs
- SecurityException.cs
- TemplateControl.cs
- ThaiBuddhistCalendar.cs
- MultiAsyncResult.cs
- BevelBitmapEffect.cs
- Win32PrintDialog.cs
- WS2007FederationHttpBindingCollectionElement.cs
- NativeActivityMetadata.cs
- SqlConnectionString.cs
- BamlResourceDeserializer.cs
- Calendar.cs
- AutomationElementCollection.cs
- PropertyRef.cs
- XmlCollation.cs
- WmlValidatorAdapter.cs
- ShapeTypeface.cs
- RouteParser.cs
- ReaderContextStackData.cs
- IsolatedStoragePermission.cs
- PtsCache.cs
- DataGridViewColumnCollectionEditor.cs
- AjaxFrameworkAssemblyAttribute.cs
- WsatTransactionHeader.cs
- XmlSerializableWriter.cs
- XmlAttributeAttribute.cs
- XDeferredAxisSource.cs
- ShutDownListener.cs
- BamlBinaryWriter.cs
- TimeStampChecker.cs
- StrokeCollection2.cs
- DateTimeConverter.cs
- TextBreakpoint.cs
- SmiSettersStream.cs
- PropertyNames.cs
- DetailsViewCommandEventArgs.cs
- ImageButton.cs
- DisableDpiAwarenessAttribute.cs
- ECDiffieHellmanCngPublicKey.cs
- DataContractAttribute.cs
- DBPropSet.cs
- StorageEntitySetMapping.cs
- CodeArrayIndexerExpression.cs
- SID.cs
- Brushes.cs
- PointValueSerializer.cs
- PeerDuplexChannel.cs
- GeneralTransform3DGroup.cs
- XmlBufferReader.cs
- VScrollBar.cs
- XmlSerializerSection.cs
- ListDictionary.cs
- Rules.cs
- C14NUtil.cs
- Pen.cs
- ApplicationBuildProvider.cs
- Inflater.cs
- PictureBoxDesigner.cs
- OleDbEnumerator.cs
- ForEachAction.cs
- dtdvalidator.cs
- JoinTreeNode.cs
- ClrProviderManifest.cs
- XmlHelper.cs
- MatcherBuilder.cs
- ProcessManager.cs
- DataKeyArray.cs
- BorderSidesEditor.cs
- TakeOrSkipQueryOperator.cs
- HtmlMeta.cs
- InkCanvasSelectionAdorner.cs
- XamlVector3DCollectionSerializer.cs