Click to Rate and Give Feedback
TechNet
TechNet Library
.NET Framework Class Library
FunctionAttribute Class

Associates a method with a stored procedure or user-defined function in the database.

Namespace:  System.Data.Linq.Mapping
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

Visual Basic (Declaration)
<AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple := False)> _
Public NotInheritable Class FunctionAttribute _
    Inherits Attribute
Visual Basic (Usage)
Dim instance As FunctionAttribute
C#
[AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple = false)]
public sealed class FunctionAttribute : Attribute
Visual C++
[AttributeUsageAttribute(AttributeTargets::Method, AllowMultiple = false)]
public ref class FunctionAttribute sealed : public Attribute
JScript
public final class FunctionAttribute extends Attribute
System..::.Object
  System..::.Attribute
    System.Data.Linq.Mapping..::.FunctionAttribute
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows Vista, Windows XP SP2, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content      
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker