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
- ClientSideProviderDescription.cs
- Vector3dCollection.cs
- DocumentPaginator.cs
- EventProvider.cs
- WsiProfilesElement.cs
- Control.cs
- CodeDirectiveCollection.cs
- ReflectionPermission.cs
- TextEmbeddedObject.cs
- PermissionSetTriple.cs
- AssemblyAttributes.cs
- GorillaCodec.cs
- ManipulationStartedEventArgs.cs
- SystemUdpStatistics.cs
- SafeCoTaskMem.cs
- SqlProviderUtilities.cs
- DataObjectFieldAttribute.cs
- BaseResourcesBuildProvider.cs
- AutomationPropertyChangedEventArgs.cs
- LineSegment.cs
- XmlElementList.cs
- AssemblyCollection.cs
- namescope.cs
- RegistrySecurity.cs
- ComplusTypeValidator.cs
- TypeHelper.cs
- TextDecorationUnitValidation.cs
- ApplicationFileParser.cs
- DesignerView.xaml.cs
- oledbmetadatacolumnnames.cs
- _DisconnectOverlappedAsyncResult.cs
- TextServicesLoader.cs
- WriteableBitmap.cs
- StringFreezingAttribute.cs
- PriorityItem.cs
- BuildProvider.cs
- DefaultEventAttribute.cs
- XmlILModule.cs
- ContentIterators.cs
- RelationshipDetailsRow.cs
- PackageDocument.cs
- StrokeCollection.cs
- ImageAnimator.cs
- SrgsText.cs
- ScrollViewerAutomationPeer.cs
- Int16AnimationBase.cs
- SymDocumentType.cs
- ReachDocumentPageSerializerAsync.cs
- MemoryMappedViewAccessor.cs
- IIS7UserPrincipal.cs
- GridViewUpdateEventArgs.cs
- ToolBarPanel.cs
- FixedSOMContainer.cs
- XsltArgumentList.cs
- RefreshResponseInfo.cs
- XmlSchemaSequence.cs
- IndentedWriter.cs
- _UriTypeConverter.cs
- ServiceOperationUIEditor.cs
- PropertyContainer.cs
- DataFormats.cs
- SqlServices.cs
- MILUtilities.cs
- TraceInternal.cs
- InputScope.cs
- EventListener.cs
- FormsAuthenticationTicket.cs
- NativeMethods.cs
- StringArrayConverter.cs
- __ComObject.cs
- PerfCounters.cs
- COM2IDispatchConverter.cs
- CryptoHelper.cs
- GenericAuthenticationEventArgs.cs
- SoapEnumAttribute.cs
- PropertyInformation.cs
- ObjectSpanRewriter.cs
- TrackingExtract.cs
- SqlLiftWhereClauses.cs
- ParserContext.cs
- ComponentSerializationService.cs
- Missing.cs
- CodeMemberEvent.cs
- SqlSupersetValidator.cs
- BitHelper.cs
- DataGridViewCellPaintingEventArgs.cs
- MetadataArtifactLoaderCompositeFile.cs
- PanningMessageFilter.cs
- InstanceHandleConflictException.cs
- WrappingXamlSchemaContext.cs
- SecurityTokenException.cs
- VectorCollectionConverter.cs
- ComponentSerializationService.cs
- CodeCommentStatementCollection.cs
- CqlParserHelpers.cs
- ResourceDescriptionAttribute.cs
- ValueTable.cs
- DetailsViewModeEventArgs.cs
- TabControlCancelEvent.cs
- IISUnsafeMethods.cs