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
- TypefaceMap.cs
- NativeMethods.cs
- NotConverter.cs
- Color.cs
- PersonalizationAdministration.cs
- SchemaCollectionCompiler.cs
- ProcessModule.cs
- X509SecurityToken.cs
- ResetableIterator.cs
- ResourcePermissionBase.cs
- MimeTextImporter.cs
- GridLengthConverter.cs
- FontDialog.cs
- HtmlLabelAdapter.cs
- DbConnectionClosed.cs
- ThumbAutomationPeer.cs
- DataGridViewRowPrePaintEventArgs.cs
- PeerCollaborationPermission.cs
- LinkUtilities.cs
- DispatcherFrame.cs
- CodeAttributeDeclarationCollection.cs
- LineSegment.cs
- ValidationHelper.cs
- DataListCommandEventArgs.cs
- FormatSettings.cs
- GridViewUpdatedEventArgs.cs
- DataColumnPropertyDescriptor.cs
- FaultContext.cs
- WebContext.cs
- HtmlInputHidden.cs
- HttpCapabilitiesEvaluator.cs
- InternalBufferOverflowException.cs
- CannotUnloadAppDomainException.cs
- XmlDataLoader.cs
- Wizard.cs
- CompilerCollection.cs
- SqlFunctionAttribute.cs
- ListCollectionView.cs
- SqlDataSourceAdvancedOptionsForm.cs
- TrustSection.cs
- XPathChildIterator.cs
- FieldInfo.cs
- ValidationEventArgs.cs
- X509Certificate2.cs
- SortDescriptionCollection.cs
- AssemblyUtil.cs
- AuthenticationSection.cs
- PassportAuthenticationModule.cs
- SqlHelper.cs
- RawStylusInput.cs
- VisualBrush.cs
- SqlClientWrapperSmiStreamChars.cs
- InputLanguageManager.cs
- WebRequestModuleElementCollection.cs
- ListViewSortEventArgs.cs
- SplineKeyFrames.cs
- EntityDesignerBuildProvider.cs
- documentation.cs
- DesignerAttribute.cs
- EntityDataSourceUtil.cs
- SmtpNtlmAuthenticationModule.cs
- EmptyStringExpandableObjectConverter.cs
- TransportReplyChannelAcceptor.cs
- WhitespaceRuleReader.cs
- DragAssistanceManager.cs
- UriTemplateHelpers.cs
- ResXBuildProvider.cs
- ConfigurationManagerHelper.cs
- BaseComponentEditor.cs
- WebRequestModuleElement.cs
- EntityCollectionChangedParams.cs
- RTTypeWrapper.cs
- ReadingWritingEntityEventArgs.cs
- PostBackOptions.cs
- NamespaceTable.cs
- OperationGenerator.cs
- RuntimeConfig.cs
- LogicalExpressionEditor.cs
- SineEase.cs
- ManagementOperationWatcher.cs
- SimpleRecyclingCache.cs
- InstanceDataCollectionCollection.cs
- ContractBase.cs
- OrCondition.cs
- BitmapCodecInfoInternal.cs
- SupportingTokenAuthenticatorSpecification.cs
- PropertyItemInternal.cs
- LinqDataSourceEditData.cs
- ListItemCollection.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- FocusWithinProperty.cs
- WorkflowInstanceExtensionCollection.cs
- AutoFocusStyle.xaml.cs
- AnimationStorage.cs
- WsdlExporter.cs
- Int32CollectionValueSerializer.cs
- HelloMessageCD1.cs
- ErrorsHelper.cs
- ItemsChangedEventArgs.cs
- BaseHashHelper.cs