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
- ClientSettingsStore.cs
- PropertyItem.cs
- CqlBlock.cs
- ScaleTransform.cs
- Simplifier.cs
- TreeBuilderXamlTranslator.cs
- translator.cs
- BaseInfoTable.cs
- DbException.cs
- FillBehavior.cs
- DateTimeConstantAttribute.cs
- Compiler.cs
- TypeToTreeConverter.cs
- DataGridColumn.cs
- XmlIgnoreAttribute.cs
- TextServicesHost.cs
- CodeSnippetStatement.cs
- SystemKeyConverter.cs
- OutKeywords.cs
- Error.cs
- TraceRecord.cs
- SessionChannels.cs
- ConfigurationCollectionAttribute.cs
- PreparingEnlistment.cs
- ExtensionSimplifierMarkupObject.cs
- ExpressionBuilderContext.cs
- StringInfo.cs
- ImageIndexEditor.cs
- XmlException.cs
- CustomWebEventKey.cs
- WeakHashtable.cs
- FolderLevelBuildProviderCollection.cs
- CodeIterationStatement.cs
- AssemblyBuilderData.cs
- ThreadInterruptedException.cs
- ContainsRowNumberChecker.cs
- LinkLabelLinkClickedEvent.cs
- VerticalConnector.xaml.cs
- DispatcherExceptionEventArgs.cs
- MessageSecurityTokenVersion.cs
- AnnotationAuthorChangedEventArgs.cs
- SizeAnimationClockResource.cs
- CreateDataSourceDialog.cs
- QueryCacheEntry.cs
- StyleXamlParser.cs
- Grant.cs
- EntityViewGenerationAttribute.cs
- SQLDoubleStorage.cs
- HttpCacheVaryByContentEncodings.cs
- WebControlAdapter.cs
- HwndMouseInputProvider.cs
- PointCollection.cs
- GcSettings.cs
- SmtpNegotiateAuthenticationModule.cs
- ChannelServices.cs
- ScopeElementCollection.cs
- CheckBox.cs
- ByteConverter.cs
- Sql8ConformanceChecker.cs
- DecimalConverter.cs
- DataBinding.cs
- TokenBasedSetEnumerator.cs
- DATA_BLOB.cs
- relpropertyhelper.cs
- TypeInitializationException.cs
- Annotation.cs
- EmptyQuery.cs
- FileEnumerator.cs
- ProjectionCamera.cs
- WhitespaceReader.cs
- SharedStatics.cs
- ControllableStoryboardAction.cs
- StringArrayConverter.cs
- iisPickupDirectory.cs
- InvokePattern.cs
- ArraySubsetEnumerator.cs
- DataGridViewLinkCell.cs
- WebServiceErrorEvent.cs
- HtmlPanelAdapter.cs
- CollaborationHelperFunctions.cs
- PropertyInfoSet.cs
- BypassElementCollection.cs
- Message.cs
- MembershipPasswordException.cs
- webeventbuffer.cs
- XamlStyleSerializer.cs
- WebReference.cs
- AdRotatorDesigner.cs
- AddInDeploymentState.cs
- ElementMarkupObject.cs
- PackageRelationshipCollection.cs
- XmlTextAttribute.cs
- OverflowException.cs
- arclist.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- AsymmetricKeyExchangeDeformatter.cs
- ConfigXmlElement.cs
- Comparer.cs
- WindowsAltTab.cs
- PartialArray.cs