Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Objects / DataClasses / EdmFunctionAttribute.cs / 1305376 / EdmFunctionAttribute.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] //--------------------------------------------------------------------- namespace System.Data.Objects.DataClasses { ////// Indicates that the given method is a proxy for an EDM function. /// [AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Edm")] public sealed class EdmFunctionAttribute : Attribute { private readonly string _namespaceName; private readonly string _functionName; ////// Creates a new EdmFunctionAttribute instance. /// /// The namespace name of the EDM function represented by the attributed method /// The function name of the EDM function represented by the attributed method public EdmFunctionAttribute(string namespaceName, string functionName) { _namespaceName = namespaceName; _functionName = functionName; } ////// The namespace name of the EDM function represented by the attributed method /// public string NamespaceName { get { return _namespaceName; } } ////// The function name of the EDM function represented by the attributed method /// public string FunctionName { get { return _functionName; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] //--------------------------------------------------------------------- namespace System.Data.Objects.DataClasses { ////// Indicates that the given method is a proxy for an EDM function. /// [AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Edm")] public sealed class EdmFunctionAttribute : Attribute { private readonly string _namespaceName; private readonly string _functionName; ////// Creates a new EdmFunctionAttribute instance. /// /// The namespace name of the EDM function represented by the attributed method /// The function name of the EDM function represented by the attributed method public EdmFunctionAttribute(string namespaceName, string functionName) { _namespaceName = namespaceName; _functionName = functionName; } ////// The namespace name of the EDM function represented by the attributed method /// public string NamespaceName { get { return _namespaceName; } } ////// The function name of the EDM function represented by the attributed method /// public string FunctionName { get { return _functionName; } } } } // 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
- CompiledQueryCacheEntry.cs
- Stopwatch.cs
- MarkerProperties.cs
- AsyncOperation.cs
- CompoundFileStorageReference.cs
- DataSetSchema.cs
- DatasetMethodGenerator.cs
- ClientTarget.cs
- DllNotFoundException.cs
- DefaultShape.cs
- SiblingIterators.cs
- IDReferencePropertyAttribute.cs
- MetabaseServerConfig.cs
- WSUtilitySpecificationVersion.cs
- AsymmetricSignatureFormatter.cs
- MessageProtectionOrder.cs
- BinaryObjectWriter.cs
- Byte.cs
- MessageQueueInstaller.cs
- WebBrowserNavigatedEventHandler.cs
- ComponentEvent.cs
- CodeConditionStatement.cs
- XmlDownloadManager.cs
- Choices.cs
- CodeCompiler.cs
- IncrementalReadDecoders.cs
- EdmProperty.cs
- LinkButton.cs
- Operator.cs
- InputLanguageProfileNotifySink.cs
- ReplacementText.cs
- StyleCollection.cs
- XmlUtil.cs
- CustomTypeDescriptor.cs
- Viewport3DVisual.cs
- ETagAttribute.cs
- DotAtomReader.cs
- EndpointNameMessageFilter.cs
- InboundActivityHelper.cs
- AccessText.cs
- DomainConstraint.cs
- ExpandedWrapper.cs
- ExpressionDumper.cs
- NativeMethods.cs
- CodeTypeReference.cs
- WebPartActionVerb.cs
- XsdBuilder.cs
- HTMLTagNameToTypeMapper.cs
- BehaviorEditorPart.cs
- SqlCrossApplyToCrossJoin.cs
- QuerySubExprEliminator.cs
- EncoderReplacementFallback.cs
- SmtpTransport.cs
- ImageListUtils.cs
- RectIndependentAnimationStorage.cs
- AutomationElement.cs
- Configuration.cs
- ProcessHostMapPath.cs
- MemberMaps.cs
- HtmlToClrEventProxy.cs
- BasicDesignerLoader.cs
- CodePageUtils.cs
- VisualBasicHelper.cs
- AlternationConverter.cs
- StringBuilder.cs
- DecoderReplacementFallback.cs
- AuthorizationRule.cs
- DbMetaDataFactory.cs
- SoapFault.cs
- RangeValueProviderWrapper.cs
- ManagedIStream.cs
- DocumentViewerBase.cs
- WebPartDisplayModeCancelEventArgs.cs
- NavigationFailedEventArgs.cs
- Latin1Encoding.cs
- SessionStateModule.cs
- CodePrimitiveExpression.cs
- AddingNewEventArgs.cs
- CacheMemory.cs
- IResourceProvider.cs
- DesignerHierarchicalDataSourceView.cs
- PipelineModuleStepContainer.cs
- ControlParser.cs
- EventData.cs
- TrustLevel.cs
- WindowsListViewScroll.cs
- PenLineJoinValidation.cs
- SoapExtensionTypeElementCollection.cs
- BasePattern.cs
- PaperSource.cs
- parserscommon.cs
- PenLineCapValidation.cs
- SQLCharsStorage.cs
- ElapsedEventArgs.cs
- NavigatorInput.cs
- NegotiateStream.cs
- path.cs
- PropertyCollection.cs
- CurrentTimeZone.cs
- ListSortDescription.cs