Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Objects / DataClasses / EdmRelationshipNavigationPropertyAttribute.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AccessibleObject.cs
- TaskFileService.cs
- SkewTransform.cs
- BufferCache.cs
- IisTraceListener.cs
- SafeTimerHandle.cs
- HttpStreamMessageEncoderFactory.cs
- FeatureSupport.cs
- HostingEnvironmentException.cs
- AstTree.cs
- ping.cs
- ActivityDesignerResources.cs
- AppSettingsExpressionBuilder.cs
- NavigationEventArgs.cs
- TextSelection.cs
- WebPartCloseVerb.cs
- EventLogger.cs
- ArrayTypeMismatchException.cs
- ErrorWebPart.cs
- DataGridViewCellFormattingEventArgs.cs
- DisplayNameAttribute.cs
- Activator.cs
- ContentDisposition.cs
- DiffuseMaterial.cs
- DiscoveryRequestHandler.cs
- EntityDataSourceUtil.cs
- SizeValueSerializer.cs
- ColumnMapProcessor.cs
- SqlUdtInfo.cs
- AtlasWeb.Designer.cs
- ScriptControlManager.cs
- SHA384CryptoServiceProvider.cs
- PropertyGridCommands.cs
- PersistenceException.cs
- TiffBitmapDecoder.cs
- VisualCollection.cs
- TimeSpan.cs
- DbSourceCommand.cs
- PrintPreviewControl.cs
- ConfigXmlText.cs
- ServiceOperationWrapper.cs
- DefaultValueTypeConverter.cs
- AffineTransform3D.cs
- WindowsGraphicsCacheManager.cs
- PropertyInformation.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- XmlFileEditor.cs
- COAUTHIDENTITY.cs
- WindowsStatusBar.cs
- ControlPropertyNameConverter.cs
- CommandEventArgs.cs
- DeviceContext2.cs
- ImageBrush.cs
- QilReplaceVisitor.cs
- Function.cs
- XmlBoundElement.cs
- DateTimeFormatInfo.cs
- DSASignatureFormatter.cs
- RuleSetDialog.Designer.cs
- dtdvalidator.cs
- CultureNotFoundException.cs
- RemotingConfiguration.cs
- RegisteredScript.cs
- SqlWriter.cs
- LoadWorkflowByKeyAsyncResult.cs
- SecUtil.cs
- _CommandStream.cs
- InternalMappingException.cs
- HttpDigestClientElement.cs
- BitHelper.cs
- ListDictionaryInternal.cs
- TraceHelpers.cs
- OciHandle.cs
- PermissionSetEnumerator.cs
- PageCatalogPart.cs
- EntityKeyElement.cs
- TextRunTypographyProperties.cs
- IconHelper.cs
- TypedServiceOperationListItem.cs
- DbParameterHelper.cs
- GlobalEventManager.cs
- ClientSettingsStore.cs
- ClientConfigurationHost.cs
- DataGridColumn.cs
- EndpointPerformanceCounters.cs
- Matrix3D.cs
- NativeMethods.cs
- EncoderParameters.cs
- DebugHandleTracker.cs
- ClientConfigPaths.cs
- ByteStack.cs
- Triangle.cs
- XPathScanner.cs
- HttpClientProtocol.cs
- BehaviorEditorPart.cs
- RegexParser.cs
- RelationshipFixer.cs
- HashJoinQueryOperatorEnumerator.cs
- WorkflowServiceInstance.cs
- TableColumnCollectionInternal.cs