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
- AffineTransform3D.cs
- MultiView.cs
- DataSetMappper.cs
- GuidelineCollection.cs
- CookielessHelper.cs
- ExpressionQuoter.cs
- MetadataArtifactLoaderCompositeFile.cs
- XmlSchemaAnyAttribute.cs
- ToolStripActionList.cs
- HttpCookie.cs
- DataControlHelper.cs
- XmlIgnoreAttribute.cs
- LinkClickEvent.cs
- SqlDependencyUtils.cs
- PrintPageEvent.cs
- FixedPageStructure.cs
- ToolstripProfessionalRenderer.cs
- Transform3DGroup.cs
- XmlNamedNodeMap.cs
- PersistenceException.cs
- DataSetMappper.cs
- ImageMetadata.cs
- FontDialog.cs
- TypeConverterValueSerializer.cs
- Hashtable.cs
- PermissionAttributes.cs
- SafeTimerHandle.cs
- XpsDigitalSignature.cs
- WebResourceAttribute.cs
- BigInt.cs
- WorkflowElementDialogWindow.xaml.cs
- NotifyCollectionChangedEventArgs.cs
- PersonalizationProviderHelper.cs
- ProjectionCamera.cs
- DesignerPerfEventProvider.cs
- MaskDescriptors.cs
- BaseTemplateParser.cs
- NativeMethods.cs
- EdgeModeValidation.cs
- FixedTextBuilder.cs
- IPipelineRuntime.cs
- PropertyEntry.cs
- ConnectionOrientedTransportManager.cs
- Version.cs
- Tokenizer.cs
- TdsParserStateObject.cs
- unitconverter.cs
- ExecutionContext.cs
- GenericTypeParameterBuilder.cs
- _NestedMultipleAsyncResult.cs
- RuleElement.cs
- XmlHierarchicalDataSourceView.cs
- DefaultObjectMappingItemCollection.cs
- ScrollPattern.cs
- XmlDesignerDataSourceView.cs
- DragEvent.cs
- SqlCacheDependencySection.cs
- XmlNamespaceMappingCollection.cs
- SerialStream.cs
- XsdDateTime.cs
- TemplateBindingExtension.cs
- DelegatingStream.cs
- XmlSerializerSection.cs
- DesignerCategoryAttribute.cs
- ReflectEventDescriptor.cs
- EventLogPermissionEntryCollection.cs
- BaseAddressPrefixFilterElement.cs
- ArrayList.cs
- Border.cs
- NonBatchDirectoryCompiler.cs
- PolicyValidationException.cs
- UrlPath.cs
- XmlCDATASection.cs
- Rect3D.cs
- UnmanagedMemoryStreamWrapper.cs
- BindingContext.cs
- Dispatcher.cs
- ResourceKey.cs
- ConfigurationConverterBase.cs
- HWStack.cs
- SchemaMerger.cs
- TransactionInterop.cs
- FileUtil.cs
- SymbolEqualComparer.cs
- AlphabeticalEnumConverter.cs
- BufferedGraphicsManager.cs
- ProviderMetadata.cs
- RectangleGeometry.cs
- StorageEndPropertyMapping.cs
- AffineTransform3D.cs
- WindowsHyperlink.cs
- ScriptingProfileServiceSection.cs
- FileAuthorizationModule.cs
- ToolboxItemAttribute.cs
- Win32KeyboardDevice.cs
- ProgressBar.cs
- TypeLoadException.cs
- ToolStripContentPanelRenderEventArgs.cs
- BulletedList.cs
- ContextDataSource.cs