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
- SocketManager.cs
- BitmapEffect.cs
- FunctionNode.cs
- QilTernary.cs
- updateconfighost.cs
- PaperSize.cs
- CompilerGlobalScopeAttribute.cs
- UIElementAutomationPeer.cs
- WebEvents.cs
- CqlQuery.cs
- IndexedString.cs
- SemanticTag.cs
- BaseAsyncResult.cs
- FixedSchema.cs
- SafeJobHandle.cs
- LinkLabel.cs
- DynamicDocumentPaginator.cs
- VariableDesigner.xaml.cs
- NativeMethods.cs
- XPathExpr.cs
- TriggerAction.cs
- CodeSnippetTypeMember.cs
- Cursor.cs
- SrgsElementFactory.cs
- ImageSource.cs
- ShellProvider.cs
- ArgumentsParser.cs
- ContentFilePart.cs
- SqlMethodTransformer.cs
- AppSettingsExpressionBuilder.cs
- ObjectQuery_EntitySqlExtensions.cs
- TextFormattingConverter.cs
- WebPartPersonalization.cs
- SamlSubjectStatement.cs
- EditorPartCollection.cs
- EventLogTraceListener.cs
- ThrowHelper.cs
- LocalizationCodeDomSerializer.cs
- _DigestClient.cs
- ColorMap.cs
- PersistenceProviderElement.cs
- XAMLParseException.cs
- ResizingMessageFilter.cs
- UriSectionReader.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- WebPartConnectVerb.cs
- FtpCachePolicyElement.cs
- XamlValidatingReader.cs
- CommandPlan.cs
- Brushes.cs
- UnsettableComboBox.cs
- DocumentPageViewAutomationPeer.cs
- DataBindingHandlerAttribute.cs
- sqlinternaltransaction.cs
- BaseComponentEditor.cs
- GridViewRowCollection.cs
- VisualBrush.cs
- Pair.cs
- BuildManagerHost.cs
- SizeF.cs
- ProcessStartInfo.cs
- Pointer.cs
- ClientFormsIdentity.cs
- NotifyCollectionChangedEventArgs.cs
- OptimisticConcurrencyException.cs
- ServiceProviders.cs
- DesignColumnCollection.cs
- SafeBuffer.cs
- FrameworkPropertyMetadata.cs
- InfoCardAsymmetricCrypto.cs
- DrawingVisual.cs
- FileUpload.cs
- SpellerHighlightLayer.cs
- SHA1CryptoServiceProvider.cs
- CursorInteropHelper.cs
- EncoderNLS.cs
- MessageBodyDescription.cs
- CopyCodeAction.cs
- TypeConverter.cs
- DataServicePagingProviderWrapper.cs
- UIElement3DAutomationPeer.cs
- UIAgentAsyncBeginRequest.cs
- TableCellAutomationPeer.cs
- MimeXmlReflector.cs
- TemplateControlBuildProvider.cs
- ByValueEqualityComparer.cs
- ServicesUtilities.cs
- IsolatedStorage.cs
- AutomationPropertyInfo.cs
- AuthorizationContext.cs
- FixedSOMFixedBlock.cs
- CopyNamespacesAction.cs
- SmiRequestExecutor.cs
- Logging.cs
- UTF7Encoding.cs
- CapabilitiesState.cs
- ClipboardProcessor.cs
- AmbientProperties.cs
- ClockGroup.cs
- SessionStateItemCollection.cs