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
- PlainXmlSerializer.cs
- TimeoutException.cs
- DecimalConstantAttribute.cs
- SapiInterop.cs
- AnnotationResource.cs
- XsdBuilder.cs
- AccessDataSource.cs
- ProfilePropertyMetadata.cs
- ConfigurationStrings.cs
- TreeNodeSelectionProcessor.cs
- TimerEventSubscription.cs
- StylusButton.cs
- PrePrepareMethodAttribute.cs
- AlternateView.cs
- CommonXSendMessage.cs
- TextDecorationCollectionConverter.cs
- wgx_exports.cs
- StickyNoteAnnotations.cs
- DictionaryManager.cs
- WhitespaceRuleReader.cs
- SpinWait.cs
- PartialTrustVisibleAssembliesSection.cs
- ItemsControlAutomationPeer.cs
- SQLInt32.cs
- DocumentReferenceCollection.cs
- XmlElement.cs
- ThrowHelper.cs
- RtfFormatStack.cs
- Geometry.cs
- activationcontext.cs
- ProgressiveCrcCalculatingStream.cs
- GeometryDrawing.cs
- ProtectedConfigurationProviderCollection.cs
- StrokeCollectionConverter.cs
- WindowsMenu.cs
- UIElementHelper.cs
- SQLBytesStorage.cs
- MatrixAnimationUsingKeyFrames.cs
- SubclassTypeValidatorAttribute.cs
- ReachSerializerAsync.cs
- IPEndPointCollection.cs
- HostedTransportConfigurationManager.cs
- SharedConnectionInfo.cs
- XmlEnumAttribute.cs
- SafeUserTokenHandle.cs
- TabControlEvent.cs
- PenThreadWorker.cs
- SparseMemoryStream.cs
- StreamAsIStream.cs
- LogicalExpr.cs
- ScriptingProfileServiceSection.cs
- PersonalizationEntry.cs
- GeneralTransform2DTo3DTo2D.cs
- Brush.cs
- PartialCachingAttribute.cs
- DataExpression.cs
- AnnotationComponentManager.cs
- EventLevel.cs
- TakeOrSkipQueryOperator.cs
- TypedTableBase.cs
- LogWriteRestartAreaState.cs
- LocationUpdates.cs
- ReflectionTypeLoadException.cs
- ExpressionNode.cs
- OracleSqlParser.cs
- COSERVERINFO.cs
- FeatureAttribute.cs
- TextRangeBase.cs
- InvalidEnumArgumentException.cs
- SpanIndex.cs
- SourceSwitch.cs
- WindowsScrollBar.cs
- FormViewUpdateEventArgs.cs
- StringUtil.cs
- StrokeDescriptor.cs
- ContextMarshalException.cs
- FacetDescription.cs
- HttpAsyncResult.cs
- QueryInterceptorAttribute.cs
- SqlMultiplexer.cs
- ClientTargetCollection.cs
- Property.cs
- SecurityBindingElementImporter.cs
- DataControlFieldCollection.cs
- CodeDirectoryCompiler.cs
- ContentPropertyAttribute.cs
- XmlAnyAttributeAttribute.cs
- ListViewItemSelectionChangedEvent.cs
- Pair.cs
- coordinator.cs
- HealthMonitoringSectionHelper.cs
- OutputCacheModule.cs
- EntityClientCacheKey.cs
- XmlSchemaValidator.cs
- ProviderConnectionPoint.cs
- StreamInfo.cs
- Dispatcher.cs
- SettingsAttributeDictionary.cs
- CookieHandler.cs
- CreateUserWizardStep.cs