Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Metadata / Edm / RelationshipType.cs / 1305376 / RelationshipType.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; using System.Threading; namespace System.Data.Metadata.Edm { ////// Represents the Relationship type /// public abstract class RelationshipType : EntityTypeBase { private ReadOnlyMetadataCollection_relationshipEndMembers; #region Constructors /// /// Initializes a new instance of relationship type /// /// name of the relationship type /// namespace of the relationship type /// version of the relationship type /// dataSpace in which this edmtype belongs to ///Thrown if either name, namespace or version arguments are null internal RelationshipType(string name, string namespaceName, DataSpace dataSpace) : base(name, namespaceName, dataSpace) { } #endregion #region Properties ////// Returns the list of ends for this relationship type /// public ReadOnlyMetadataCollectionRelationshipEndMembers { get { Debug.Assert(IsReadOnly, "this is a wrapper around this.Members, don't call it during metadata loading, only call it after the metadata is set to readonly"); if (null == _relationshipEndMembers) { FilteredReadOnlyMetadataCollection relationshipEndMembers = new FilteredReadOnlyMetadataCollection ( this.Members, Helper.IsRelationshipEndMember); Interlocked.CompareExchange(ref _relationshipEndMembers, relationshipEndMembers, null); } return _relationshipEndMembers; } } #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
- Errors.cs
- DocumentApplicationJournalEntry.cs
- ASCIIEncoding.cs
- PortCache.cs
- ButtonFieldBase.cs
- CodeFieldReferenceExpression.cs
- Set.cs
- DataTable.cs
- SystemParameters.cs
- CompletedAsyncResult.cs
- TriggerActionCollection.cs
- SafeFileMappingHandle.cs
- GPRECT.cs
- ScriptControlManager.cs
- ConcurrentStack.cs
- IndentedTextWriter.cs
- FormatConvertedBitmap.cs
- DockingAttribute.cs
- PackageRelationshipCollection.cs
- ColorTypeConverter.cs
- CompressionTransform.cs
- GeneralTransformCollection.cs
- OleDbTransaction.cs
- HScrollProperties.cs
- WorkflowOwnerAsyncResult.cs
- FreezableCollection.cs
- ActiveXHost.cs
- SqlDataSourceStatusEventArgs.cs
- PathParser.cs
- DocumentXPathNavigator.cs
- ToolStripGrip.cs
- AddressHeaderCollectionElement.cs
- SynchronizationLockException.cs
- RefType.cs
- VolatileEnlistmentState.cs
- ProjectionPathSegment.cs
- AbstractSvcMapFileLoader.cs
- ComponentRenameEvent.cs
- DebugHandleTracker.cs
- OperationCanceledException.cs
- RichTextBox.cs
- EntityDataSourceStatementEditor.cs
- EntityStoreSchemaGenerator.cs
- DataChangedEventManager.cs
- SchemaMapping.cs
- PreviewPageInfo.cs
- BaseTemplateParser.cs
- XmlAttribute.cs
- FileNotFoundException.cs
- ParentQuery.cs
- propertyentry.cs
- CapabilitiesUse.cs
- Stopwatch.cs
- ClickablePoint.cs
- Point3DAnimationUsingKeyFrames.cs
- ZoomComboBox.cs
- OleDbWrapper.cs
- RefreshPropertiesAttribute.cs
- XmlSchemaImport.cs
- OnOperation.cs
- CodeCatchClause.cs
- AssociationType.cs
- Regex.cs
- DispatchWrapper.cs
- TemplateControl.cs
- Vector3DValueSerializer.cs
- DictionaryBase.cs
- TreeViewDesigner.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- MaskedTextProvider.cs
- WebPartTransformerAttribute.cs
- CreateUserErrorEventArgs.cs
- AnimationClock.cs
- BitmapEffectDrawingContextWalker.cs
- RootDesignerSerializerAttribute.cs
- GetLedgerRequest.cs
- AlignmentXValidation.cs
- DataObjectCopyingEventArgs.cs
- ContextBase.cs
- WebServiceClientProxyGenerator.cs
- QuaternionRotation3D.cs
- TemplateField.cs
- DocComment.cs
- SchemaElement.cs
- StandardCommands.cs
- RichTextBoxDesigner.cs
- BinaryKeyIdentifierClause.cs
- ActivityDesignerResources.cs
- UserControl.cs
- FolderBrowserDialog.cs
- GPRECTF.cs
- StructuralObject.cs
- ModelItemDictionaryImpl.cs
- FormViewInsertEventArgs.cs
- MailWebEventProvider.cs
- ScrollData.cs
- _NegotiateClient.cs
- AttachInfo.cs
- SiteMapHierarchicalDataSourceView.cs
- XmlSchemaObjectTable.cs