Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- Permission.cs
- WebConfigurationFileMap.cs
- RsaSecurityTokenAuthenticator.cs
- Message.cs
- _HelperAsyncResults.cs
- SerializationHelper.cs
- FullTrustAssemblyCollection.cs
- AdRotatorDesigner.cs
- Control.cs
- BufferedStream.cs
- Grid.cs
- HierarchicalDataSourceDesigner.cs
- WebPartVerbCollection.cs
- ThemeableAttribute.cs
- documentsequencetextcontainer.cs
- ResourceBinder.cs
- PageHandlerFactory.cs
- Matrix.cs
- SortQuery.cs
- OpenTypeLayout.cs
- SymmetricAlgorithm.cs
- WmpBitmapEncoder.cs
- StringBlob.cs
- BitmapFrameEncode.cs
- EventToken.cs
- oledbmetadatacolumnnames.cs
- GraphicsContainer.cs
- CharEnumerator.cs
- AttributeCollection.cs
- ControlTemplate.cs
- SqlProviderManifest.cs
- RoutedEventHandlerInfo.cs
- ListViewGroupItemCollection.cs
- DiscardableAttribute.cs
- TlsnegoTokenAuthenticator.cs
- FrameSecurityDescriptor.cs
- GeneratedView.cs
- DrawingAttributeSerializer.cs
- SectionXmlInfo.cs
- BamlRecordHelper.cs
- ListBindingHelper.cs
- ConfigurationElement.cs
- NativeConfigurationLoader.cs
- HttpHandlersSection.cs
- ComponentResourceKey.cs
- PerfService.cs
- CompositeScriptReferenceEventArgs.cs
- DataGridViewTextBoxColumn.cs
- OleDbPermission.cs
- CodeAttributeArgumentCollection.cs
- DocumentGridContextMenu.cs
- UseAttributeSetsAction.cs
- OleDbCommand.cs
- Int32Collection.cs
- DataSourceCache.cs
- PointConverter.cs
- CurrentChangingEventArgs.cs
- LightweightCodeGenerator.cs
- CombinedGeometry.cs
- CreateUserErrorEventArgs.cs
- CodeAttributeArgument.cs
- COM2ExtendedTypeConverter.cs
- DelimitedListTraceListener.cs
- Vector3D.cs
- DataBoundControlHelper.cs
- UsernameTokenFactoryCredential.cs
- XPathNodeIterator.cs
- ContentHostHelper.cs
- XmlUnspecifiedAttribute.cs
- XPathDocumentIterator.cs
- AttachmentCollection.cs
- ListViewItemEventArgs.cs
- HtmlTableRowCollection.cs
- IntegerValidatorAttribute.cs
- DynamicResourceExtension.cs
- BufferedWebEventProvider.cs
- coordinator.cs
- IndependentlyAnimatedPropertyMetadata.cs
- BindingsCollection.cs
- Query.cs
- BigInt.cs
- SafeFileMappingHandle.cs
- ByteBufferPool.cs
- SecurityDescriptor.cs
- PolicyFactory.cs
- StatusBar.cs
- DataMemberAttribute.cs
- GrammarBuilderWildcard.cs
- BooleanFunctions.cs
- Attributes.cs
- TextRangeAdaptor.cs
- RowToFieldTransformer.cs
- XsltArgumentList.cs
- SendMailErrorEventArgs.cs
- DataListDesigner.cs
- IndexingContentUnit.cs
- EngineSiteSapi.cs
- EnlistmentState.cs
- DbException.cs
- Model3DGroup.cs