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
- ConnectionStringsExpressionBuilder.cs
- DbException.cs
- Hashtable.cs
- CalendarDay.cs
- TableMethodGenerator.cs
- assemblycache.cs
- Translator.cs
- SamlAssertionDirectKeyIdentifierClause.cs
- SmiRecordBuffer.cs
- PropertyValidationContext.cs
- MSAANativeProvider.cs
- ServicePointManagerElement.cs
- EventData.cs
- DatatypeImplementation.cs
- TdsParserSessionPool.cs
- Pair.cs
- CfgParser.cs
- LongPath.cs
- RegexMatchCollection.cs
- RegexCompiler.cs
- CollectionView.cs
- InkPresenter.cs
- PriorityRange.cs
- XPathException.cs
- RoleManagerSection.cs
- Helper.cs
- ExpressionEditorAttribute.cs
- TextElementCollection.cs
- querybuilder.cs
- XmlSerializationReader.cs
- SharedPersonalizationStateInfo.cs
- ColorContext.cs
- SoapAttributeAttribute.cs
- OracleConnectionFactory.cs
- DropDownButton.cs
- ProfileManager.cs
- DataRecordInternal.cs
- WindowsListViewScroll.cs
- DesignerLabelAdapter.cs
- PropertyManager.cs
- MultipartContentParser.cs
- SqlBuilder.cs
- Scripts.cs
- RSACryptoServiceProvider.cs
- ExclusiveCanonicalizationTransform.cs
- DrawingImage.cs
- ValidationHelpers.cs
- UserControlCodeDomTreeGenerator.cs
- PersonalizationProvider.cs
- RowType.cs
- WebServiceTypeData.cs
- ValidationPropertyAttribute.cs
- OrderedDictionary.cs
- DriveInfo.cs
- ResourceFallbackManager.cs
- Point3DIndependentAnimationStorage.cs
- ZoneIdentityPermission.cs
- InputBindingCollection.cs
- DispatcherObject.cs
- XPathNodePointer.cs
- ResourceBinder.cs
- BatchServiceHost.cs
- AssemblyUtil.cs
- ContentPosition.cs
- ConfigXmlAttribute.cs
- CorrelationExtension.cs
- DefaultCommandConverter.cs
- EdmConstants.cs
- StorageEntityContainerMapping.cs
- RegexTree.cs
- TextElement.cs
- AttributedMetaModel.cs
- DesignerTransaction.cs
- CodePrimitiveExpression.cs
- WinCategoryAttribute.cs
- OleDbDataAdapter.cs
- GenericPrincipal.cs
- SafeEventLogReadHandle.cs
- EdmToObjectNamespaceMap.cs
- BlurBitmapEffect.cs
- IdnElement.cs
- SingleTagSectionHandler.cs
- FeatureManager.cs
- AppSettingsExpressionBuilder.cs
- KerberosSecurityTokenAuthenticator.cs
- BuildProviderUtils.cs
- StrokeFIndices.cs
- dataprotectionpermission.cs
- ChannelManager.cs
- HttpListenerPrefixCollection.cs
- BindingGroup.cs
- AppDomainManager.cs
- ClassValidator.cs
- ProfileSettingsCollection.cs
- SystemInfo.cs
- InputScope.cs
- DiscoveryEndpointValidator.cs
- IteratorFilter.cs
- ListItemConverter.cs
- XsdDataContractImporter.cs