Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- OleDbRowUpdatingEvent.cs
- CompiledQueryCacheEntry.cs
- sqlinternaltransaction.cs
- ObjectDataSourceStatusEventArgs.cs
- MatrixConverter.cs
- Utils.cs
- processwaithandle.cs
- Operator.cs
- ConfigurationPropertyAttribute.cs
- WorkflowInstanceTerminatedRecord.cs
- ProxyWebPart.cs
- SimpleColumnProvider.cs
- EditBehavior.cs
- SplitterCancelEvent.cs
- EntityDataSourceWrapperCollection.cs
- TableStyle.cs
- DispatcherTimer.cs
- Preprocessor.cs
- SecuritySessionFilter.cs
- DefaultMemberAttribute.cs
- SimpleFieldTemplateUserControl.cs
- ResXBuildProvider.cs
- ListItemCollection.cs
- AsyncResult.cs
- RedirectionProxy.cs
- AutomationFocusChangedEventArgs.cs
- TableAutomationPeer.cs
- ServiceDefaults.cs
- FocusTracker.cs
- ProxyManager.cs
- WmlControlAdapter.cs
- ConstructorBuilder.cs
- arclist.cs
- xml.cs
- DataGridCell.cs
- Operators.cs
- RegexMatchCollection.cs
- RightsManagementEncryptionTransform.cs
- TableColumnCollection.cs
- TemplateColumn.cs
- ConnectionProviderAttribute.cs
- EditorZoneBase.cs
- Page.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- FastEncoderWindow.cs
- PointLight.cs
- ResourceProperty.cs
- CqlParser.cs
- StructuralObject.cs
- FunctionDefinition.cs
- MimeWriter.cs
- CultureInfoConverter.cs
- SiteMapSection.cs
- BindingRestrictions.cs
- PropertyGridDesigner.cs
- PrintDialog.cs
- ManagementClass.cs
- WindowsStatusBar.cs
- BitmapEffect.cs
- UnicastIPAddressInformationCollection.cs
- RegexTree.cs
- EventBuilder.cs
- IfAction.cs
- Memoizer.cs
- DocumentReference.cs
- ListBox.cs
- EdmToObjectNamespaceMap.cs
- XmlObjectSerializerContext.cs
- NativeWindow.cs
- StoreItemCollection.cs
- OptimisticConcurrencyException.cs
- TableLayoutPanelCellPosition.cs
- Help.cs
- PrinterUnitConvert.cs
- ColumnHeader.cs
- OleDbWrapper.cs
- PartialCachingAttribute.cs
- ObjectFullSpanRewriter.cs
- cookie.cs
- QueryOutputWriter.cs
- VarRefManager.cs
- ColorComboBox.cs
- SafeCryptoHandles.cs
- ClassicBorderDecorator.cs
- VectorCollectionConverter.cs
- ContactManager.cs
- SafeLocalMemHandle.cs
- NamedElement.cs
- SmiEventSink.cs
- ZoneButton.cs
- PropertyKey.cs
- WebPartMovingEventArgs.cs
- UrlPath.cs
- DesignerCommandSet.cs
- CollectionContainer.cs
- NextPreviousPagerField.cs
- NullableFloatSumAggregationOperator.cs
- Visual3D.cs
- BlurBitmapEffect.cs
- StructuralType.cs