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
- ControlAdapter.cs
- StretchValidation.cs
- PriorityQueue.cs
- CancelAsyncOperationRequest.cs
- Stream.cs
- SqlDelegatedTransaction.cs
- HtmlLink.cs
- TextRangeBase.cs
- SafeLocalMemHandle.cs
- SystemIcons.cs
- NamespaceEmitter.cs
- IisTraceWebEventProvider.cs
- ManifestResourceInfo.cs
- PropertyGridCommands.cs
- BinarySerializer.cs
- SQLSingleStorage.cs
- TemplateParser.cs
- FontDifferentiator.cs
- ProcessRequestArgs.cs
- RunInstallerAttribute.cs
- StylusCaptureWithinProperty.cs
- AppSecurityManager.cs
- AssociationTypeEmitter.cs
- ListInitExpression.cs
- SyncOperationState.cs
- BooleanConverter.cs
- Geometry.cs
- QueryOperator.cs
- ToolStripGripRenderEventArgs.cs
- StorageComplexPropertyMapping.cs
- FastEncoderStatics.cs
- SafeFileMappingHandle.cs
- AssemblyResourceLoader.cs
- BuildProviderAppliesToAttribute.cs
- DataSourceControl.cs
- ColorConverter.cs
- WindowsRichEdit.cs
- CredentialCache.cs
- PropertyValue.cs
- ExeContext.cs
- TdsParser.cs
- ComboBox.cs
- MethodExpr.cs
- ScriptingWebServicesSectionGroup.cs
- TwoPhaseCommit.cs
- WebResourceUtil.cs
- DataControlHelper.cs
- InfoCardSymmetricCrypto.cs
- ApplicationContext.cs
- WaitHandleCannotBeOpenedException.cs
- SpStreamWrapper.cs
- TextMetrics.cs
- HttpResponseInternalWrapper.cs
- ButtonBase.cs
- DataGridItemEventArgs.cs
- precedingquery.cs
- SiteMapSection.cs
- ExternalFile.cs
- HttpWebRequest.cs
- DirectoryNotFoundException.cs
- VerbConverter.cs
- AlignmentYValidation.cs
- Context.cs
- InheritanceContextChangedEventManager.cs
- ClientBuildManagerCallback.cs
- WSSecurityPolicy.cs
- State.cs
- MessageTraceRecord.cs
- ReferencedAssembly.cs
- SafeNativeMethodsOther.cs
- PerSessionInstanceContextProvider.cs
- XmlRootAttribute.cs
- RelatedCurrencyManager.cs
- AssertFilter.cs
- DbInsertCommandTree.cs
- HyperLink.cs
- BooleanExpr.cs
- ProxyWebPart.cs
- AspNetRouteServiceHttpHandler.cs
- MetadataSource.cs
- StringInfo.cs
- Column.cs
- PageAdapter.cs
- SimpleWorkerRequest.cs
- SignHashRequest.cs
- Bidi.cs
- NativeMethodsCLR.cs
- HtmlInputPassword.cs
- LineMetrics.cs
- FontCollection.cs
- Grant.cs
- SingleTagSectionHandler.cs
- TouchFrameEventArgs.cs
- ResourcePool.cs
- StylusShape.cs
- BypassElement.cs
- DetailsViewCommandEventArgs.cs
- XPathScanner.cs
- sqlstateclientmanager.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs