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
- ParameterDataSourceExpression.cs
- SwitchLevelAttribute.cs
- Parameter.cs
- LogManagementAsyncResult.cs
- AppSettingsReader.cs
- XmlNamespaceManager.cs
- _SecureChannel.cs
- CellQuery.cs
- SimpleTableProvider.cs
- PriorityBindingExpression.cs
- Resources.Designer.cs
- BamlResourceContent.cs
- CheckBox.cs
- SettingsBase.cs
- SvcMapFile.cs
- TileModeValidation.cs
- NavigationEventArgs.cs
- DataObject.cs
- LongValidatorAttribute.cs
- EntityStoreSchemaGenerator.cs
- OracleTimeSpan.cs
- CryptoProvider.cs
- DataBindingsDialog.cs
- HotCommands.cs
- DoubleLinkList.cs
- SafeHGlobalHandleCritical.cs
- CommandField.cs
- PagerSettings.cs
- AnchoredBlock.cs
- LassoSelectionBehavior.cs
- MetadataWorkspace.cs
- StructuredProperty.cs
- BindingListCollectionView.cs
- DashStyle.cs
- TransformDescriptor.cs
- QueryReaderSettings.cs
- InputLanguage.cs
- SpotLight.cs
- ActivationServices.cs
- __Error.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- QilPatternVisitor.cs
- TdsParserSessionPool.cs
- WinFormsComponentEditor.cs
- LockRenewalTask.cs
- SizeF.cs
- WrappedKeySecurityTokenParameters.cs
- Base64Stream.cs
- ListViewItem.cs
- Win32.cs
- DashStyle.cs
- SqlClientFactory.cs
- LinearGradientBrush.cs
- RoleServiceManager.cs
- SslStream.cs
- XmlMemberMapping.cs
- NamedElement.cs
- ExpressionPrefixAttribute.cs
- BitmapData.cs
- SkewTransform.cs
- HttpCookiesSection.cs
- COM2ComponentEditor.cs
- SoapReflectionImporter.cs
- TextMarkerSource.cs
- ClickablePoint.cs
- SizeIndependentAnimationStorage.cs
- PermissionSet.cs
- EntityAdapter.cs
- HwndTarget.cs
- CacheMemory.cs
- ColumnResizeUndoUnit.cs
- OdbcError.cs
- iisPickupDirectory.cs
- RadioButton.cs
- AutomationPatternInfo.cs
- SQLInt32.cs
- LicenseProviderAttribute.cs
- XmlAggregates.cs
- SmuggledIUnknown.cs
- DiagnosticsConfigurationHandler.cs
- Setter.cs
- PerfCounterSection.cs
- ContainerParaClient.cs
- TableLayoutRowStyleCollection.cs
- XmlDictionaryReader.cs
- BinHexEncoding.cs
- FileDialog.cs
- StrokeNodeEnumerator.cs
- exports.cs
- ScrollBarAutomationPeer.cs
- IdentityNotMappedException.cs
- input.cs
- ExpandedWrapper.cs
- DataRow.cs
- RelatedView.cs
- EntityUtil.cs
- InternalDispatchObject.cs
- KeyValuePairs.cs
- HMACSHA512.cs
- CapabilitiesAssignment.cs