Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Metadata / Edm / RelationshipSet.cs / 1305376 / RelationshipSet.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- 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 [....] // @backupOwner [....] //--------------------------------------------------------------------- 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
- Positioning.cs
- TextTreeTextNode.cs
- TraceHandler.cs
- ObjectNotFoundException.cs
- CodeChecksumPragma.cs
- WorkflowElementDialog.cs
- CheckBoxList.cs
- WindowsMenu.cs
- StatusBar.cs
- HtmlTable.cs
- ManagedWndProcTracker.cs
- UICuesEvent.cs
- TypeConverterHelper.cs
- CompositeScriptReferenceEventArgs.cs
- SiteMapSection.cs
- GifBitmapEncoder.cs
- BooleanAnimationBase.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- BrowsableAttribute.cs
- StorageAssociationSetMapping.cs
- LazyInitializer.cs
- parserscommon.cs
- SimpleMailWebEventProvider.cs
- SevenBitStream.cs
- NativeWindow.cs
- MSAANativeProvider.cs
- Validator.cs
- SqlCaseSimplifier.cs
- BitArray.cs
- Rectangle.cs
- Span.cs
- HttpApplicationFactory.cs
- XamlSerializerUtil.cs
- CodeTypeMemberCollection.cs
- DetailsViewDeleteEventArgs.cs
- ListViewPagedDataSource.cs
- ViewValidator.cs
- XmlSchemaExporter.cs
- XmlIlGenerator.cs
- TrustLevel.cs
- Crc32.cs
- _Events.cs
- XmlLangPropertyAttribute.cs
- SQLDecimalStorage.cs
- DbConnectionPool.cs
- XamlSerializationHelper.cs
- SqlMetaData.cs
- UnitControl.cs
- EntityTypeEmitter.cs
- AdornerDecorator.cs
- ProxyAttribute.cs
- ScrollProperties.cs
- SqlConnection.cs
- TransformConverter.cs
- RotateTransform.cs
- BitmapCache.cs
- OrderedDictionary.cs
- BigInt.cs
- MediaContextNotificationWindow.cs
- CompilationRelaxations.cs
- WebConfigurationHost.cs
- DataColumn.cs
- LocatorBase.cs
- WebPermission.cs
- XmlSerializerFactory.cs
- SecurityPermission.cs
- Span.cs
- TextViewSelectionProcessor.cs
- XmlSchemaInferenceException.cs
- Bits.cs
- SuppressMessageAttribute.cs
- TraceHandlerErrorFormatter.cs
- RefreshResponseInfo.cs
- LinkClickEvent.cs
- LowerCaseStringConverter.cs
- WebControlParameterProxy.cs
- SmiContextFactory.cs
- LogEntry.cs
- CodeGeneratorOptions.cs
- SlotInfo.cs
- Condition.cs
- DataError.cs
- NoResizeHandleGlyph.cs
- XmlBoundElement.cs
- XmlQueryTypeFactory.cs
- RunWorkerCompletedEventArgs.cs
- UIElement.cs
- Win32.cs
- _ProxyChain.cs
- EdmPropertyAttribute.cs
- SchemaType.cs
- BamlResourceDeserializer.cs
- lengthconverter.cs
- XmlStreamNodeWriter.cs
- Debug.cs
- EventDescriptorCollection.cs
- CodeAccessPermission.cs
- RuleConditionDialog.cs
- BatchWriter.cs
- CodeThrowExceptionStatement.cs