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
- ProjectionCamera.cs
- LayoutManager.cs
- IDispatchConstantAttribute.cs
- BitmapDecoder.cs
- ResourceContainer.cs
- OracleTimeSpan.cs
- PersonalizationProvider.cs
- SqlConnectionString.cs
- X509CertificateStore.cs
- ParseHttpDate.cs
- BackgroundFormatInfo.cs
- DbBuffer.cs
- TabItemWrapperAutomationPeer.cs
- SecurityHeaderElementInferenceEngine.cs
- CustomExpression.cs
- HttpCachePolicy.cs
- FontSourceCollection.cs
- DataFieldCollectionEditor.cs
- DataServiceException.cs
- PeerContact.cs
- ClientSideProviderDescription.cs
- LayoutTable.cs
- Condition.cs
- GenericAuthenticationEventArgs.cs
- SystemEvents.cs
- SubpageParaClient.cs
- XmlSchemaSimpleContentExtension.cs
- DriveInfo.cs
- SqlDataSourceEnumerator.cs
- CompilationLock.cs
- formatter.cs
- SoapClientProtocol.cs
- HttpContext.cs
- CryptoApi.cs
- SHA256.cs
- MenuItem.cs
- StrongNameKeyPair.cs
- columnmapfactory.cs
- BulletedListEventArgs.cs
- TimeoutException.cs
- ResourceReader.cs
- ViewStateModeByIdAttribute.cs
- ChangeBlockUndoRecord.cs
- Keywords.cs
- ThrowHelper.cs
- CompatibleIComparer.cs
- CompensatableTransactionScopeActivity.cs
- ToolStripArrowRenderEventArgs.cs
- DelegateSerializationHolder.cs
- ListBoxChrome.cs
- RefreshEventArgs.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- TableFieldsEditor.cs
- SecurityException.cs
- DataGridViewBand.cs
- WindowsListViewSubItem.cs
- CompilationLock.cs
- CodeThrowExceptionStatement.cs
- MetaTableHelper.cs
- SqlDataSource.cs
- Mappings.cs
- SchemaEntity.cs
- SigningProgress.cs
- BaseTemplateCodeDomTreeGenerator.cs
- OpenTypeMethods.cs
- BasicAsyncResult.cs
- HebrewNumber.cs
- ToolStripDropDownItem.cs
- AdapterUtil.cs
- HttpHandlerActionCollection.cs
- ViewLoader.cs
- WebConfigurationHostFileChange.cs
- GZipDecoder.cs
- QueryServiceConfigHandle.cs
- XmlHelper.cs
- IndexOutOfRangeException.cs
- TextDecoration.cs
- __Error.cs
- WinEventHandler.cs
- XmlSchemaSimpleTypeList.cs
- SQLInt32Storage.cs
- XmlBinaryReader.cs
- EditorPartCollection.cs
- ClaimTypeRequirement.cs
- LessThan.cs
- ExpressionBindings.cs
- PassportAuthentication.cs
- PointAnimation.cs
- NameNode.cs
- ShaderRenderModeValidation.cs
- BorderSidesEditor.cs
- PartitionResolver.cs
- IntegrationExceptionEventArgs.cs
- ExpandCollapseProviderWrapper.cs
- SqlDataSourceSelectingEventArgs.cs
- PaperSource.cs
- FixedNode.cs
- EncoderNLS.cs
- ObjectNotFoundException.cs
- ProviderUtil.cs