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
- BinaryNode.cs
- SiteOfOriginContainer.cs
- WindowsRichEditRange.cs
- SimpleWebHandlerParser.cs
- DbConnectionPool.cs
- IncomingWebRequestContext.cs
- EditorZone.cs
- WebPartZone.cs
- ObjectDataProvider.cs
- FunctionOverloadResolver.cs
- _NegoStream.cs
- BinHexDecoder.cs
- BaseDataListPage.cs
- SpecularMaterial.cs
- ControlBindingsCollection.cs
- InputLanguageSource.cs
- infer.cs
- LogAppendAsyncResult.cs
- LoginUtil.cs
- MenuItem.cs
- StringAnimationBase.cs
- ListItemViewControl.cs
- RepeaterCommandEventArgs.cs
- StringCollectionMarkupSerializer.cs
- DataPointer.cs
- LedgerEntryCollection.cs
- QilTargetType.cs
- ResourceSet.cs
- SafeNativeMethods.cs
- XmlSchemaIdentityConstraint.cs
- ClockGroup.cs
- HttpWebRequest.cs
- HostedHttpTransportManager.cs
- SqlRecordBuffer.cs
- ThrowHelper.cs
- ReflectionHelper.cs
- Int16.cs
- DbBuffer.cs
- SqlUtil.cs
- CodeDOMProvider.cs
- oledbmetadatacolumnnames.cs
- ListViewPagedDataSource.cs
- ConstraintConverter.cs
- DesignerActionMethodItem.cs
- ObjectViewFactory.cs
- dbenumerator.cs
- FileSystemEventArgs.cs
- AdjustableArrowCap.cs
- MetadataItem_Static.cs
- SerializerWriterEventHandlers.cs
- UIElementParaClient.cs
- HtmlGenericControl.cs
- MediaEntryAttribute.cs
- InstanceNotReadyException.cs
- NativeMethods.cs
- ResourceReferenceExpressionConverter.cs
- CapabilitiesUse.cs
- RecordsAffectedEventArgs.cs
- NamespaceEmitter.cs
- SourceFilter.cs
- RegistrySecurity.cs
- TraceContext.cs
- SettingsPropertyIsReadOnlyException.cs
- DataGridPageChangedEventArgs.cs
- ProfessionalColorTable.cs
- DurableInstance.cs
- SafeHandle.cs
- ISAPIApplicationHost.cs
- EventLogPermission.cs
- RelationshipType.cs
- BulletedListDesigner.cs
- GPRECTF.cs
- XomlCompiler.cs
- KeySplineConverter.cs
- MouseActionValueSerializer.cs
- Behavior.cs
- IChannel.cs
- ConditionalWeakTable.cs
- TemplatedAdorner.cs
- DiscriminatorMap.cs
- ReceiveContent.cs
- DesignerView.xaml.cs
- TimersDescriptionAttribute.cs
- TextSelectionHelper.cs
- XNodeValidator.cs
- HttpRequestCacheValidator.cs
- GenericEnumConverter.cs
- WebPartRestoreVerb.cs
- RectAnimation.cs
- RC2.cs
- LabelLiteral.cs
- GlyphInfoList.cs
- TabRenderer.cs
- SafeNativeMethodsCLR.cs
- FileDialog.cs
- CompositeControlDesigner.cs
- ContentFilePart.cs
- SelectionItemPattern.cs
- DispatcherProcessingDisabled.cs
- FontDialog.cs