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
- ManifestResourceInfo.cs
- ProxyAttribute.cs
- ImageListUtils.cs
- Region.cs
- Exceptions.cs
- ZeroOpNode.cs
- CodeDefaultValueExpression.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- SyndicationSerializer.cs
- XNameTypeConverter.cs
- TiffBitmapDecoder.cs
- DynamicObject.cs
- Int32Collection.cs
- RemotingException.cs
- WebSysDescriptionAttribute.cs
- FileDetails.cs
- DataList.cs
- ScalarOps.cs
- WindowsSpinner.cs
- SoapIncludeAttribute.cs
- PackageDigitalSignature.cs
- VideoDrawing.cs
- TextTreeFixupNode.cs
- ScriptResourceAttribute.cs
- CaseInsensitiveComparer.cs
- ColorMatrix.cs
- ControlPropertyNameConverter.cs
- RequestCachePolicy.cs
- PagesChangedEventArgs.cs
- InputEventArgs.cs
- ScopelessEnumAttribute.cs
- NumberSubstitution.cs
- PermissionToken.cs
- ExpressionBindings.cs
- DoWorkEventArgs.cs
- SHA384Managed.cs
- ProviderSettingsCollection.cs
- BinaryFormatterWriter.cs
- SeverityFilter.cs
- MDIControlStrip.cs
- EmptyReadOnlyDictionaryInternal.cs
- UserControl.cs
- EqualityComparer.cs
- TemplateBaseAction.cs
- DataGridViewAccessibleObject.cs
- SafePEFileHandle.cs
- ComplexTypeEmitter.cs
- SafeNativeMethods.cs
- TranslateTransform.cs
- QueueTransferProtocol.cs
- Attributes.cs
- DecoderNLS.cs
- WithStatement.cs
- ServiceOperation.cs
- COM2PropertyDescriptor.cs
- StorageAssociationTypeMapping.cs
- ExtenderProvidedPropertyAttribute.cs
- EnumerableRowCollection.cs
- SystemResources.cs
- WebServiceClientProxyGenerator.cs
- WebPartDescription.cs
- EpmContentDeSerializerBase.cs
- HtmlAnchor.cs
- WindowsStatusBar.cs
- DataGridViewCellStyleConverter.cs
- ToolStripGrip.cs
- unsafenativemethodsother.cs
- LinqToSqlWrapper.cs
- EventProvider.cs
- FileCodeGroup.cs
- ColumnReorderedEventArgs.cs
- wgx_commands.cs
- ExceptionHandler.cs
- CodeArrayCreateExpression.cs
- DataGridTable.cs
- ChannelReliableSession.cs
- ValidationHelper.cs
- Rotation3DAnimationUsingKeyFrames.cs
- VectorAnimationUsingKeyFrames.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- DirtyTextRange.cs
- TheQuery.cs
- SrgsSemanticInterpretationTag.cs
- SrgsRuleRef.cs
- SystemIcmpV4Statistics.cs
- QuadraticBezierSegment.cs
- InitializationEventAttribute.cs
- QEncodedStream.cs
- PeerNameRegistration.cs
- XmlHierarchyData.cs
- HttpDictionary.cs
- Matrix.cs
- BuildProviderCollection.cs
- MissingManifestResourceException.cs
- CellTreeNode.cs
- CachedTypeface.cs
- HtmlInputText.cs
- CheckBoxPopupAdapter.cs
- KnownBoxes.cs
- GeneralTransform.cs