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
- RepeaterCommandEventArgs.cs
- ImagingCache.cs
- UriTemplate.cs
- BindStream.cs
- UrlAuthFailedErrorFormatter.cs
- Operand.cs
- X509Certificate.cs
- DetailsViewInsertEventArgs.cs
- XmlAttributeAttribute.cs
- PersonalizationProvider.cs
- ViewCellSlot.cs
- ActiveXContainer.cs
- BackStopAuthenticationModule.cs
- indexingfiltermarshaler.cs
- RequiredAttributeAttribute.cs
- TraceSource.cs
- StylusCollection.cs
- DataViewManager.cs
- DefaultHttpHandler.cs
- StylusEditingBehavior.cs
- PeerNameRecord.cs
- Axis.cs
- GraphicsPathIterator.cs
- HtmlInputSubmit.cs
- DataServiceClientException.cs
- Parser.cs
- EventProxy.cs
- GeometryModel3D.cs
- SmiMetaData.cs
- TextBounds.cs
- CodeArrayCreateExpression.cs
- IntAverageAggregationOperator.cs
- CheckBoxBaseAdapter.cs
- shaperfactoryquerycacheentry.cs
- FirewallWrapper.cs
- KoreanCalendar.cs
- PropertyNames.cs
- XhtmlBasicTextBoxAdapter.cs
- DummyDataSource.cs
- StylusPoint.cs
- Decimal.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- ErrorFormatter.cs
- InfoCardXmlSerializer.cs
- CatalogZoneDesigner.cs
- DynamicQueryStringParameter.cs
- SqlUdtInfo.cs
- TreeNodeEventArgs.cs
- CodeBinaryOperatorExpression.cs
- PersonalizationAdministration.cs
- DataMemberListEditor.cs
- TraceUtils.cs
- SqlMethods.cs
- ToolStripDropDownClosingEventArgs.cs
- TextBoxBase.cs
- TransportDefaults.cs
- ExplicitDiscriminatorMap.cs
- ScriptIgnoreAttribute.cs
- EventBuilder.cs
- DataServiceQueryException.cs
- UiaCoreProviderApi.cs
- Delegate.cs
- CustomDictionarySources.cs
- PagedDataSource.cs
- SqlUdtInfo.cs
- FrameworkElementFactory.cs
- SystemColors.cs
- SystemIPv4InterfaceProperties.cs
- TemplateLookupAction.cs
- DetailsViewRowCollection.cs
- recordstatescratchpad.cs
- NetCodeGroup.cs
- CodeSnippetTypeMember.cs
- sqlmetadatafactory.cs
- QilIterator.cs
- ConstructorExpr.cs
- SessionStateUtil.cs
- ExternalException.cs
- PlatformCulture.cs
- QilTernary.cs
- DataColumnPropertyDescriptor.cs
- DayRenderEvent.cs
- Native.cs
- WindowClosedEventArgs.cs
- COM2EnumConverter.cs
- TrustLevelCollection.cs
- XmlSchemaElement.cs
- EntityDataSourceStatementEditor.cs
- OdbcInfoMessageEvent.cs
- SecurityMode.cs
- TextBoxRenderer.cs
- ActivityExecutor.cs
- ApplicationBuildProvider.cs
- CompositeDataBoundControl.cs
- ItemCheckEvent.cs
- DiscoveryClientProtocol.cs
- UndoManager.cs
- PageThemeBuildProvider.cs
- TabControlAutomationPeer.cs
- ExpressionBindingCollection.cs