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
- XmlAttributeCollection.cs
- SqlMultiplexer.cs
- Path.cs
- CodeTypeParameterCollection.cs
- TabControlCancelEvent.cs
- RawStylusSystemGestureInputReport.cs
- StateManager.cs
- EncodingInfo.cs
- ErrorRuntimeConfig.cs
- AggregationMinMaxHelpers.cs
- ClientSettingsProvider.cs
- EncryptedKey.cs
- WindowsPrincipal.cs
- FileEnumerator.cs
- OleCmdHelper.cs
- LogSwitch.cs
- XmlEnumAttribute.cs
- GZipDecoder.cs
- EncoderBestFitFallback.cs
- TextFormatterImp.cs
- OleDbFactory.cs
- EditorBrowsableAttribute.cs
- ParallelActivityDesigner.cs
- TextFormattingConverter.cs
- JsonReaderWriterFactory.cs
- EventLogConfiguration.cs
- TextTreeText.cs
- StringAnimationUsingKeyFrames.cs
- EventManager.cs
- Int32Converter.cs
- ObjectViewFactory.cs
- FixedSOMGroup.cs
- ValidatingPropertiesEventArgs.cs
- SystemPens.cs
- XmlWriterSettings.cs
- Size.cs
- ZeroOpNode.cs
- DataTrigger.cs
- ColumnHeader.cs
- LOSFormatter.cs
- SQLDoubleStorage.cs
- BuildProviderAppliesToAttribute.cs
- DetailsViewInsertEventArgs.cs
- FrameworkObject.cs
- PEFileReader.cs
- QilFunction.cs
- RequestBringIntoViewEventArgs.cs
- ScriptResourceMapping.cs
- StorageFunctionMapping.cs
- EnvelopedPkcs7.cs
- TransformerConfigurationWizardBase.cs
- PrintEvent.cs
- DynamicValueConverter.cs
- JsonQNameDataContract.cs
- FontNamesConverter.cs
- AutoGeneratedFieldProperties.cs
- TdsParameterSetter.cs
- UshortList2.cs
- BitmapSourceSafeMILHandle.cs
- BlurEffect.cs
- InputLanguageManager.cs
- ValueUnavailableException.cs
- ElementUtil.cs
- sqlser.cs
- wgx_commands.cs
- ActionNotSupportedException.cs
- DynamicResourceExtension.cs
- ObjectSpanRewriter.cs
- GeneralTransform2DTo3DTo2D.cs
- DesignerHierarchicalDataSourceView.cs
- TemplateXamlTreeBuilder.cs
- DelegateTypeInfo.cs
- ObjectListDataBindEventArgs.cs
- DeviceSpecificDesigner.cs
- CustomLineCap.cs
- WebPartManagerInternals.cs
- Int16AnimationBase.cs
- PersistenceTypeAttribute.cs
- ButtonBaseDesigner.cs
- CryptoConfig.cs
- PageStatePersister.cs
- SqlClientWrapperSmiStreamChars.cs
- SqlDependencyListener.cs
- SqlTriggerContext.cs
- ConfigurationSchemaErrors.cs
- DocumentGrid.cs
- WindowClosedEventArgs.cs
- PocoPropertyAccessorStrategy.cs
- BaseResourcesBuildProvider.cs
- ChannelManager.cs
- ImageUrlEditor.cs
- DynamicObjectAccessor.cs
- RemoteEndpointMessageProperty.cs
- CodeTypeParameterCollection.cs
- CryptoConfig.cs
- Registration.cs
- AlternationConverter.cs
- PanelStyle.cs
- ResXBuildProvider.cs
- ConstructorBuilder.cs