Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntity / System / Data / Objects / DataClasses / EdmRelationshipNavigationPropertyAttribute.cs / 2 / EdmRelationshipNavigationPropertyAttribute.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System; namespace System.Data.Objects.DataClasses { ////// Attribute identifying the Ends defined for a RelationshipSet /// Implied default AttributeUsage properties Inherited=True, AllowMultiple=False, /// The metadata system expects this and will only look at the first of each of these attributes, even if there are more. /// [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Edm")] [AttributeUsage(AttributeTargets.Property)] public sealed class EdmRelationshipNavigationPropertyAttribute : EdmPropertyAttribute { private string _relationshipNamespaceName; private string _relationshipName; private string _targetRoleName; ////// Attribute identifying the Ends defined for a RelationshipSet /// public EdmRelationshipNavigationPropertyAttribute(string relationshipNamespaceName, string relationshipName, string targetRoleName) { _relationshipNamespaceName = relationshipNamespaceName; _relationshipName = relationshipName; _targetRoleName = targetRoleName; } ////// the namespace name of the relationship /// public string RelationshipNamespaceName { get { return _relationshipNamespaceName; } } ////// the relationship name /// public string RelationshipName { get { return _relationshipName; } } ////// the target role name /// public string TargetRoleName { get { return _targetRoleName; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System; namespace System.Data.Objects.DataClasses { ////// Attribute identifying the Ends defined for a RelationshipSet /// Implied default AttributeUsage properties Inherited=True, AllowMultiple=False, /// The metadata system expects this and will only look at the first of each of these attributes, even if there are more. /// [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Edm")] [AttributeUsage(AttributeTargets.Property)] public sealed class EdmRelationshipNavigationPropertyAttribute : EdmPropertyAttribute { private string _relationshipNamespaceName; private string _relationshipName; private string _targetRoleName; ////// Attribute identifying the Ends defined for a RelationshipSet /// public EdmRelationshipNavigationPropertyAttribute(string relationshipNamespaceName, string relationshipName, string targetRoleName) { _relationshipNamespaceName = relationshipNamespaceName; _relationshipName = relationshipName; _targetRoleName = targetRoleName; } ////// the namespace name of the relationship /// public string RelationshipNamespaceName { get { return _relationshipNamespaceName; } } ////// the relationship name /// public string RelationshipName { get { return _relationshipName; } } ////// the target role name /// public string TargetRoleName { get { return _targetRoleName; } } } } // 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
- TextServicesDisplayAttributePropertyRanges.cs
- Model3DGroup.cs
- FileSystemInfo.cs
- XmlLoader.cs
- ControlPropertyNameConverter.cs
- DispatchChannelSink.cs
- HotCommands.cs
- SqlClientPermission.cs
- DBSqlParserColumnCollection.cs
- GcSettings.cs
- FullTrustAssemblyCollection.cs
- DbParameterHelper.cs
- LocatorPartList.cs
- PathFigureCollection.cs
- ZipIORawDataFileBlock.cs
- SynchronizationFilter.cs
- DoubleCollection.cs
- Int32CollectionValueSerializer.cs
- LayoutEvent.cs
- Error.cs
- SplitterCancelEvent.cs
- ExecutorLocksHeldException.cs
- SourceSwitch.cs
- XmlSerializationGeneratedCode.cs
- TableColumn.cs
- xdrvalidator.cs
- Cursors.cs
- ReadOnlyAttribute.cs
- sqlnorm.cs
- _AutoWebProxyScriptHelper.cs
- ByValueEqualityComparer.cs
- InvalidOleVariantTypeException.cs
- AmbiguousMatchException.cs
- WSTrust.cs
- RtfFormatStack.cs
- SplashScreen.cs
- FactoryMaker.cs
- DbBuffer.cs
- PowerModeChangedEventArgs.cs
- OleDbParameter.cs
- SiteMapSection.cs
- MissingMethodException.cs
- SetStoryboardSpeedRatio.cs
- RectValueSerializer.cs
- _UriTypeConverter.cs
- PageAsyncTask.cs
- InternalBase.cs
- DesignerValidatorAdapter.cs
- TextRenderer.cs
- AcceptorSessionSymmetricTransportSecurityProtocol.cs
- HttpChannelFactory.cs
- PartBasedPackageProperties.cs
- WebServiceFaultDesigner.cs
- SerialStream.cs
- Delegate.cs
- ExpandoClass.cs
- HtmlInputButton.cs
- MD5Cng.cs
- VBCodeProvider.cs
- TargetInvocationException.cs
- Publisher.cs
- MarkupProperty.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- Rotation3D.cs
- ParsedRoute.cs
- MatrixTransform3D.cs
- ExtentCqlBlock.cs
- WebPartConnection.cs
- SqlColumnizer.cs
- PersonalizablePropertyEntry.cs
- ResourceManager.cs
- ReachUIElementCollectionSerializerAsync.cs
- XsltConvert.cs
- SqlServer2KCompatibilityCheck.cs
- TreeViewImageIndexConverter.cs
- XamlWriter.cs
- ControllableStoryboardAction.cs
- storepermission.cs
- SqlColumnizer.cs
- UIInitializationException.cs
- GlyphRun.cs
- StreamSecurityUpgradeInitiatorBase.cs
- PassportIdentity.cs
- SerializationEventsCache.cs
- QueryOperationResponseOfT.cs
- columnmapkeybuilder.cs
- ImageList.cs
- SettingsBase.cs
- FreezableCollection.cs
- QueuePathDialog.cs
- DeliveryStrategy.cs
- EditorBrowsableAttribute.cs
- SafeRightsManagementPubHandle.cs
- OleDbConnection.cs
- CultureTableRecord.cs
- JournalEntryListConverter.cs
- PerformanceCounterCategory.cs
- PnrpPeerResolver.cs
- dtdvalidator.cs
- TextReader.cs