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
- ReadOnlyCollectionBase.cs
- CheckBox.cs
- MenuItemBindingCollection.cs
- SrgsOneOf.cs
- Funcletizer.cs
- Compilation.cs
- UdpReplyToBehavior.cs
- ExpressionVisitor.cs
- FixUp.cs
- VisualTreeUtils.cs
- UIElement3D.cs
- MorphHelper.cs
- InstalledFontCollection.cs
- CLRBindingWorker.cs
- SecureUICommand.cs
- XmlTypeAttribute.cs
- ActivationArguments.cs
- WorkflowApplicationIdleEventArgs.cs
- DetailsViewRowCollection.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- hresults.cs
- AssociatedControlConverter.cs
- cryptoapiTransform.cs
- SafeCryptContextHandle.cs
- GlyphsSerializer.cs
- CodeGen.cs
- CallTemplateAction.cs
- InputScopeConverter.cs
- SecurityHeader.cs
- DataProtection.cs
- Application.cs
- DrawingVisual.cs
- CodeDirectoryCompiler.cs
- GraphicsContext.cs
- SiteMapDataSourceView.cs
- _Win32.cs
- FunctionMappingTranslator.cs
- ProcessHostServerConfig.cs
- SubtreeProcessor.cs
- ResourceWriter.cs
- DataRecordInfo.cs
- DaylightTime.cs
- ChtmlSelectionListAdapter.cs
- CssStyleCollection.cs
- SemaphoreFullException.cs
- TextParagraphView.cs
- ActivityExecutionContextCollection.cs
- DecimalConverter.cs
- LongCountAggregationOperator.cs
- SmiTypedGetterSetter.cs
- FrameworkContextData.cs
- ActivityExecutorDelegateInfo.cs
- VisualProxy.cs
- SpeakProgressEventArgs.cs
- HideDisabledControlAdapter.cs
- AspNetPartialTrustHelpers.cs
- MultitargetUtil.cs
- SchemaConstraints.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- EventPrivateKey.cs
- loginstatus.cs
- DomNameTable.cs
- SoapSchemaExporter.cs
- TcpProcessProtocolHandler.cs
- AnnotationAdorner.cs
- EntitySqlQueryState.cs
- PrimitiveCodeDomSerializer.cs
- DCSafeHandle.cs
- SessionSymmetricMessageSecurityProtocolFactory.cs
- DynamicILGenerator.cs
- HttpCapabilitiesEvaluator.cs
- Brush.cs
- SubpageParagraph.cs
- PrivilegeNotHeldException.cs
- BitmapCacheBrush.cs
- DesignerSerializationVisibilityAttribute.cs
- ConditionBrowserDialog.cs
- SchemaDeclBase.cs
- Misc.cs
- AlternateViewCollection.cs
- PrivilegedConfigurationManager.cs
- TypedTableBase.cs
- DayRenderEvent.cs
- SoapObjectReader.cs
- Mutex.cs
- ListViewDeleteEventArgs.cs
- TimelineGroup.cs
- AttributeInfo.cs
- StringBlob.cs
- LogicalCallContext.cs
- ExpressionBuilder.cs
- MappingSource.cs
- DataGridSortCommandEventArgs.cs
- SystemFonts.cs
- Zone.cs
- FilterQuery.cs
- Events.cs
- CompilerResults.cs
- CroppedBitmap.cs
- ObjectFactoryCodeDomTreeGenerator.cs