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
- SlipBehavior.cs
- ProtectedConfigurationSection.cs
- FontCacheLogic.cs
- XPathPatternParser.cs
- SymbolType.cs
- XPathConvert.cs
- ObjectViewEntityCollectionData.cs
- AppSecurityManager.cs
- Context.cs
- SafeCoTaskMem.cs
- AccessText.cs
- SimpleApplicationHost.cs
- UDPClient.cs
- GuidConverter.cs
- MouseGestureConverter.cs
- PageClientProxyGenerator.cs
- GridViewColumnCollectionChangedEventArgs.cs
- WebPartDisplayModeCollection.cs
- PointLight.cs
- Gdiplus.cs
- SettingsBindableAttribute.cs
- SignedInfo.cs
- InstanceNameConverter.cs
- CommandField.cs
- WebPartVerbCollection.cs
- RealProxy.cs
- autovalidator.cs
- IsolatedStorageFilePermission.cs
- FilterEventArgs.cs
- Calendar.cs
- TextTreeTextNode.cs
- DbDataSourceEnumerator.cs
- ActivationArguments.cs
- SeekStoryboard.cs
- ReferenceTypeElement.cs
- AudioSignalProblemOccurredEventArgs.cs
- UpdateManifestForBrowserApplication.cs
- CounterSample.cs
- DataGridViewCellValidatingEventArgs.cs
- System.Data_BID.cs
- Comparer.cs
- ProvideValueServiceProvider.cs
- EntityStoreSchemaFilterEntry.cs
- MetadataFile.cs
- Bitmap.cs
- ReliableInputConnection.cs
- SmiRecordBuffer.cs
- GatewayDefinition.cs
- XmlTextWriter.cs
- LeftCellWrapper.cs
- PropertyTabChangedEvent.cs
- LazyTextWriterCreator.cs
- SafeHGlobalHandleCritical.cs
- DataGridViewRowCancelEventArgs.cs
- SystemEvents.cs
- HtmlLinkAdapter.cs
- PanelDesigner.cs
- ConfigXmlElement.cs
- TriggerAction.cs
- SessionStateUtil.cs
- FreeIndexList.cs
- ParseChildrenAsPropertiesAttribute.cs
- SimpleTypesSurrogate.cs
- BCLDebug.cs
- XmlSchemaException.cs
- SecurityKeyIdentifierClause.cs
- DbCommandTree.cs
- TdsEnums.cs
- QilScopedVisitor.cs
- ViewStateModeByIdAttribute.cs
- _NetworkingPerfCounters.cs
- UnsafeNativeMethodsCLR.cs
- SchemaDeclBase.cs
- ExpressionPrefixAttribute.cs
- SynchronousChannel.cs
- MemoryFailPoint.cs
- InkCollectionBehavior.cs
- GeometryValueSerializer.cs
- WorkflowExecutor.cs
- BufferAllocator.cs
- HtmlPhoneCallAdapter.cs
- FontUnitConverter.cs
- RenderOptions.cs
- ForceCopyBuildProvider.cs
- DiscoveryInnerClientAdhocCD1.cs
- DetailsViewUpdatedEventArgs.cs
- ReadOnlyDictionary.cs
- DataServiceKeyAttribute.cs
- OutputScope.cs
- AuthorizationSection.cs
- SystemIcmpV6Statistics.cs
- __FastResourceComparer.cs
- ToolBarButton.cs
- ShutDownListener.cs
- Helpers.cs
- ClockGroup.cs
- ProfileBuildProvider.cs
- WebConfigurationHost.cs
- HeaderedItemsControl.cs
- GridViewItemAutomationPeer.cs