Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / DataEntity / System / Data / Metadata / Edm / RelationshipSet.cs / 1 / RelationshipSet.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....], [....] //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Diagnostics; using System.Text; namespace System.Data.Metadata.Edm { ////// Class for representing a relationship set /// public abstract class RelationshipSet : EntitySetBase { #region Constructors ////// The constructor for constructing the RelationshipSet with a given name and an relationship type /// /// The name of the RelationshipSet /// The db schema /// The db table /// The provider specific query that should be used to retrieve the EntitySet /// The entity type of the entities that this entity set type contains ///Thrown if the argument name or entityType is null internal RelationshipSet(string name, string schema, string table, string definingQuery, RelationshipType relationshipType) : base(name, schema, table, definingQuery, relationshipType) { } #endregion #region Properties ////// Returns the relationship type associated with this relationship set /// public new RelationshipType ElementType { get { return (RelationshipType)base.ElementType; } } ////// Returns the kind of the type /// public override BuiltInTypeKind BuiltInTypeKind { get { return BuiltInTypeKind.RelationshipSet; } } #endregion } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....], [....] //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Diagnostics; using System.Text; namespace System.Data.Metadata.Edm { ////// Class for representing a relationship set /// public abstract class RelationshipSet : EntitySetBase { #region Constructors ////// The constructor for constructing the RelationshipSet with a given name and an relationship type /// /// The name of the RelationshipSet /// The db schema /// The db table /// The provider specific query that should be used to retrieve the EntitySet /// The entity type of the entities that this entity set type contains ///Thrown if the argument name or entityType is null internal RelationshipSet(string name, string schema, string table, string definingQuery, RelationshipType relationshipType) : base(name, schema, table, definingQuery, relationshipType) { } #endregion #region Properties ////// Returns the relationship type associated with this relationship set /// public new RelationshipType ElementType { get { return (RelationshipType)base.ElementType; } } ////// Returns the kind of the type /// public override BuiltInTypeKind BuiltInTypeKind { get { return BuiltInTypeKind.RelationshipSet; } } #endregion } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ImageInfo.cs
- DispatchChannelSink.cs
- RemoteWebConfigurationHost.cs
- ListBox.cs
- IntellisenseTextBox.designer.cs
- EntityDataSourceDesignerHelper.cs
- TypeCollectionPropertyEditor.cs
- Source.cs
- GenericPrincipal.cs
- DateTimeUtil.cs
- FolderBrowserDialog.cs
- ScrollEvent.cs
- ItemDragEvent.cs
- StrongNamePublicKeyBlob.cs
- CompoundFileIOPermission.cs
- EtwTrace.cs
- sqlser.cs
- Rectangle.cs
- EmptyEnumerator.cs
- ManagementClass.cs
- DefaultProxySection.cs
- SID.cs
- HealthMonitoringSection.cs
- SmtpNegotiateAuthenticationModule.cs
- TimeSpanValidator.cs
- Point4DConverter.cs
- SafeLibraryHandle.cs
- LinkTarget.cs
- ProcessStartInfo.cs
- RuleRef.cs
- RelationshipType.cs
- ScriptRef.cs
- WasHostedComPlusFactory.cs
- GroupItem.cs
- RadioButtonStandardAdapter.cs
- XamlVector3DCollectionSerializer.cs
- TextSearch.cs
- WebUtility.cs
- MetadataPropertyvalue.cs
- SecuritySessionSecurityTokenAuthenticator.cs
- SoapFormatter.cs
- DataGridViewSelectedRowCollection.cs
- EdmItemCollection.cs
- HelpProvider.cs
- RotationValidation.cs
- SoapInteropTypes.cs
- MetadataExchangeBindings.cs
- ResourcePermissionBase.cs
- BitmapDownload.cs
- OdbcHandle.cs
- GeometryHitTestParameters.cs
- SynchronousChannelMergeEnumerator.cs
- UserUseLicenseDictionaryLoader.cs
- FormClosingEvent.cs
- NullableDecimalMinMaxAggregationOperator.cs
- CustomAssemblyResolver.cs
- ConfigurationValidatorBase.cs
- _ListenerAsyncResult.cs
- TabControlEvent.cs
- Calendar.cs
- WorkflowLayouts.cs
- MaskInputRejectedEventArgs.cs
- IndependentlyAnimatedPropertyMetadata.cs
- WindowsFormsSynchronizationContext.cs
- SQLGuid.cs
- Bits.cs
- DataViewListener.cs
- LazyTextWriterCreator.cs
- BaseValidator.cs
- SqlDataSourceConfigureSortForm.cs
- RowBinding.cs
- Camera.cs
- FtpWebRequest.cs
- MappingSource.cs
- WebPartsPersonalization.cs
- ExpandSegmentCollection.cs
- XmlDigitalSignatureProcessor.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- XmlEnumAttribute.cs
- ReferencedType.cs
- UserPersonalizationStateInfo.cs
- EntityFrameworkVersions.cs
- XsdBuilder.cs
- HwndAppCommandInputProvider.cs
- SQLBytes.cs
- RemoteEndpointMessageProperty.cs
- QilLoop.cs
- HeaderUtility.cs
- StyleCollection.cs
- SecurityHeaderElementInferenceEngine.cs
- TableLayoutRowStyleCollection.cs
- KeyboardEventArgs.cs
- FileIOPermission.cs
- PropertyIDSet.cs
- ConfigXmlText.cs
- MdiWindowListStrip.cs
- FileSecurity.cs
- AddingNewEventArgs.cs
- XmlSerializerOperationBehavior.cs
- CodeVariableReferenceExpression.cs