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
- WebService.cs
- SqlCommandAsyncResult.cs
- MsdtcClusterUtils.cs
- SystemThemeKey.cs
- TemplateBuilder.cs
- QuaternionAnimation.cs
- WebBrowserNavigatingEventHandler.cs
- TableRowCollection.cs
- ToolStripItemEventArgs.cs
- XmlWhitespace.cs
- AccessKeyManager.cs
- OdbcEnvironmentHandle.cs
- WebPartsSection.cs
- Merger.cs
- DelegateInArgument.cs
- RolePrincipal.cs
- LexicalChunk.cs
- XmlAttributeCollection.cs
- FontWeightConverter.cs
- ParamArrayAttribute.cs
- TextSearch.cs
- SqlDataSource.cs
- AutomationAttributeInfo.cs
- PropertyTabAttribute.cs
- coordinator.cs
- CodeAttributeArgumentCollection.cs
- TextWriter.cs
- DragDropHelper.cs
- FilteredAttributeCollection.cs
- Matrix.cs
- Section.cs
- EntityDataSourceStatementEditorForm.cs
- XsltArgumentList.cs
- CustomAttributeBuilder.cs
- PhonemeConverter.cs
- HashCryptoHandle.cs
- SoapElementAttribute.cs
- Rotation3DAnimationBase.cs
- TextDocumentView.cs
- ScriptReference.cs
- ManualResetEvent.cs
- HttpHostedTransportConfiguration.cs
- COM2IProvidePropertyBuilderHandler.cs
- Graphics.cs
- VisualStyleRenderer.cs
- QueuePathEditor.cs
- Profiler.cs
- HttpCapabilitiesEvaluator.cs
- MruCache.cs
- BrowserCapabilitiesCodeGenerator.cs
- SystemWebCachingSectionGroup.cs
- PointConverter.cs
- EpmContentSerializerBase.cs
- FormatterServices.cs
- Int32Storage.cs
- ComponentManagerBroker.cs
- RuntimeConfigLKG.cs
- CngAlgorithmGroup.cs
- GACIdentityPermission.cs
- RestClientProxyHandler.cs
- DataPagerFieldCollection.cs
- RowUpdatingEventArgs.cs
- CookieProtection.cs
- Rotation3D.cs
- PtsHelper.cs
- ResXResourceReader.cs
- DrawingCollection.cs
- WebCodeGenerator.cs
- WebPartExportVerb.cs
- WindowsSpinner.cs
- DataRelation.cs
- EventProviderWriter.cs
- SoapMessage.cs
- EntityViewGenerator.cs
- PersistChildrenAttribute.cs
- CustomError.cs
- HMACRIPEMD160.cs
- XmlReaderSettings.cs
- PreservationFileWriter.cs
- LocationInfo.cs
- ComPlusThreadInitializer.cs
- InputMethod.cs
- TableHeaderCell.cs
- TextAdaptor.cs
- GifBitmapDecoder.cs
- LoadWorkflowCommand.cs
- FileUpload.cs
- AssemblyBuilderData.cs
- XmlArrayItemAttribute.cs
- CodeCommentStatement.cs
- DoubleCollection.cs
- SplashScreen.cs
- SystemGatewayIPAddressInformation.cs
- BehaviorEditorPart.cs
- PackageController.cs
- querybuilder.cs
- RIPEMD160.cs
- RowToFieldTransformer.cs
- WaitHandle.cs
- X509AudioLogo.cs