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
- TypeGenericEnumerableViewSchema.cs
- ObjectResult.cs
- coordinatorfactory.cs
- SafeNativeMethods.cs
- CommonRemoteMemoryBlock.cs
- TargetInvocationException.cs
- BaseTemplateCodeDomTreeGenerator.cs
- PublisherIdentityPermission.cs
- DesignColumnCollection.cs
- ProviderConnectionPointCollection.cs
- FixedDocument.cs
- ListViewGroupItemCollection.cs
- ExternalFile.cs
- xmlfixedPageInfo.cs
- BindingOperations.cs
- EntityTypeEmitter.cs
- dbdatarecord.cs
- ApplicationDirectoryMembershipCondition.cs
- assertwrapper.cs
- ConvertersCollection.cs
- InstanceNameConverter.cs
- FilterException.cs
- InputQueueChannelAcceptor.cs
- TimelineGroup.cs
- RangeExpression.cs
- ManagedCodeMarkers.cs
- activationcontext.cs
- SystemKeyConverter.cs
- SQLInt64Storage.cs
- DataGridViewRow.cs
- _StreamFramer.cs
- RuleSettingsCollection.cs
- MenuAdapter.cs
- CompileXomlTask.cs
- ContractNamespaceAttribute.cs
- WebPartConnectVerb.cs
- LineMetrics.cs
- FontDialog.cs
- ServiceModelEnhancedConfigurationElementCollection.cs
- SqlConnectionString.cs
- HttpCookie.cs
- DataObjectFieldAttribute.cs
- CheckBoxFlatAdapter.cs
- IApplicationTrustManager.cs
- BaseParagraph.cs
- WorkflowMessageEventHandler.cs
- TableLayoutRowStyleCollection.cs
- SafeEventHandle.cs
- CapabilitiesState.cs
- VerticalAlignConverter.cs
- Int32Storage.cs
- CounterCreationData.cs
- TextMessageEncodingBindingElement.cs
- WebResourceUtil.cs
- GlyphRun.cs
- GridPattern.cs
- SingleStorage.cs
- DrawListViewColumnHeaderEventArgs.cs
- PropertyGridView.cs
- TextElement.cs
- PolicyChain.cs
- EntityStoreSchemaFilterEntry.cs
- Dynamic.cs
- FocusChangedEventArgs.cs
- BitmapEffectInput.cs
- HttpHostedTransportConfiguration.cs
- KoreanLunisolarCalendar.cs
- CompareValidator.cs
- EmptyStringExpandableObjectConverter.cs
- ValueSerializer.cs
- SerialStream.cs
- ValueOfAction.cs
- PrimitiveDataContract.cs
- xamlnodes.cs
- ForeignConstraint.cs
- GACMembershipCondition.cs
- EventManager.cs
- XmlSortKey.cs
- StatusBarDesigner.cs
- ModelPerspective.cs
- HostedHttpContext.cs
- ProfilePropertySettingsCollection.cs
- ContainerControlDesigner.cs
- GridViewCommandEventArgs.cs
- AlgoModule.cs
- BindingBase.cs
- XmlEntityReference.cs
- ExceptionUtility.cs
- Stacktrace.cs
- OleDbPermission.cs
- ConditionalAttribute.cs
- SolidBrush.cs
- PersonalizationState.cs
- UpdatePanelControlTrigger.cs
- SmiSettersStream.cs
- WindowsIPAddress.cs
- NumericUpDown.cs
- KeyValueConfigurationCollection.cs
- AttachedPropertyInfo.cs
- XmlSchemaParticle.cs