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
- XmlCharType.cs
- TypeToArgumentTypeConverter.cs
- DispatcherOperation.cs
- CollectionContainer.cs
- PenLineJoinValidation.cs
- ManagementInstaller.cs
- ControlAdapter.cs
- Camera.cs
- RSAProtectedConfigurationProvider.cs
- MarkerProperties.cs
- XappLauncher.cs
- FlowDocumentView.cs
- BackgroundFormatInfo.cs
- HttpStreamXmlDictionaryWriter.cs
- WindowsScrollBar.cs
- DesignerWebPartChrome.cs
- _UncName.cs
- TimelineClockCollection.cs
- OutKeywords.cs
- Funcletizer.cs
- SoapAttributeAttribute.cs
- CommandID.cs
- TdsParserSafeHandles.cs
- ObfuscateAssemblyAttribute.cs
- HandlerWithFactory.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- WSTrust.cs
- ImageUrlEditor.cs
- TraceProvider.cs
- ExceptionDetail.cs
- SettingsBindableAttribute.cs
- Attribute.cs
- HwndStylusInputProvider.cs
- MessageSmuggler.cs
- TypeDescriptionProviderAttribute.cs
- SmiXetterAccessMap.cs
- DataObjectEventArgs.cs
- TriggerAction.cs
- DataStreams.cs
- WindowsHyperlink.cs
- _DisconnectOverlappedAsyncResult.cs
- InstanceDescriptor.cs
- MessagePartDescriptionCollection.cs
- QilName.cs
- MetafileHeader.cs
- XslVisitor.cs
- ProtocolViolationException.cs
- X509Chain.cs
- GeneralTransform3DGroup.cs
- CheckPair.cs
- EastAsianLunisolarCalendar.cs
- SystemEvents.cs
- SocketPermission.cs
- MediaTimeline.cs
- ObservableCollection.cs
- RelatedCurrencyManager.cs
- Rule.cs
- XmlObjectSerializer.cs
- ThaiBuddhistCalendar.cs
- TemplatePagerField.cs
- LinkDescriptor.cs
- CancelEventArgs.cs
- XPathConvert.cs
- InternalPermissions.cs
- OracleCommand.cs
- Flattener.cs
- RightNameExpirationInfoPair.cs
- Encoding.cs
- Helpers.cs
- XmlSchemaAnnotated.cs
- UpdateTracker.cs
- WindowsSecurityToken.cs
- WindowsIPAddress.cs
- DataSourceBooleanViewSchemaConverter.cs
- CompositeFontInfo.cs
- AnimationClock.cs
- Walker.cs
- UpdateTranslator.cs
- EnumerableCollectionView.cs
- XmlBindingWorker.cs
- CheckBox.cs
- WebBrowserHelper.cs
- Pair.cs
- BaseDataListActionList.cs
- SpotLight.cs
- ActiveDocumentEvent.cs
- XmlStringTable.cs
- IPAddressCollection.cs
- PerformanceCountersElement.cs
- SetStateDesigner.cs
- sqlpipe.cs
- AdornerHitTestResult.cs
- DateTimeSerializationSection.cs
- SHA384.cs
- ComplexTypeEmitter.cs
- EventLog.cs
- ViewgenContext.cs
- ProviderConnectionPointCollection.cs
- SchemaImporterExtension.cs
- WindowsRebar.cs