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
- HandlerMappingMemo.cs
- safex509handles.cs
- PrintPreviewGraphics.cs
- CombinedGeometry.cs
- ServiceAuthorizationManager.cs
- __Error.cs
- XmlException.cs
- Soap.cs
- WebPartCollection.cs
- OleDbCommand.cs
- SecurityTimestamp.cs
- IOThreadScheduler.cs
- QilLiteral.cs
- DataGridHelper.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- TimeEnumHelper.cs
- ContextDataSourceView.cs
- XPathBinder.cs
- DesignerRegion.cs
- ModifierKeysConverter.cs
- FilteredXmlReader.cs
- ExpressionBuilder.cs
- BasicCellRelation.cs
- ValidationErrorInfo.cs
- Events.cs
- ConfigurationManagerHelperFactory.cs
- MessageEncoder.cs
- UrlPath.cs
- DbQueryCommandTree.cs
- SmtpClient.cs
- ScrollableControl.cs
- Token.cs
- EditorBrowsableAttribute.cs
- XmlExpressionDumper.cs
- SQLBinaryStorage.cs
- FlowPosition.cs
- BreakRecordTable.cs
- SiteMapNodeItemEventArgs.cs
- HtmlTableRowCollection.cs
- Int32CollectionConverter.cs
- ImportDesigner.xaml.cs
- RemoteWebConfigurationHostStream.cs
- SmtpNtlmAuthenticationModule.cs
- ConfigurationElementProperty.cs
- BoolExpressionVisitors.cs
- EventHandlersStore.cs
- FontNamesConverter.cs
- TextSchema.cs
- UpWmlPageAdapter.cs
- KerberosSecurityTokenAuthenticator.cs
- WebHttpSecurityElement.cs
- XmlElementAttributes.cs
- PtsPage.cs
- HiddenField.cs
- SpecialNameAttribute.cs
- UIElementAutomationPeer.cs
- LocalizableResourceBuilder.cs
- InputScopeAttribute.cs
- GenericsInstances.cs
- ValidationPropertyAttribute.cs
- FixedTextView.cs
- DebugHandleTracker.cs
- WindowsGraphicsCacheManager.cs
- ServiceManagerHandle.cs
- DataControlFieldHeaderCell.cs
- NonVisualControlAttribute.cs
- DummyDataSource.cs
- MenuItemBindingCollection.cs
- SoapEnumAttribute.cs
- Menu.cs
- RadioButtonList.cs
- AuthorizationRuleCollection.cs
- AnimatedTypeHelpers.cs
- XPathSingletonIterator.cs
- ProfessionalColorTable.cs
- ScrollItemProviderWrapper.cs
- EasingFunctionBase.cs
- ResourceDictionary.cs
- PersonalizationProviderCollection.cs
- XmlJsonWriter.cs
- RoleManagerEventArgs.cs
- FontInfo.cs
- GenerateTemporaryTargetAssembly.cs
- OleDbMetaDataFactory.cs
- filewebrequest.cs
- WebControl.cs
- TopClause.cs
- HtmlEmptyTagControlBuilder.cs
- ToRequest.cs
- sqlstateclientmanager.cs
- PtsHelper.cs
- SymLanguageVendor.cs
- SerializationFieldInfo.cs
- JoinElimination.cs
- CompilerErrorCollection.cs
- _SslStream.cs
- Model3DCollection.cs
- TypeDelegator.cs
- COM2EnumConverter.cs
- XmlAttributeAttribute.cs