DbFunctionAttribute クラス
[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]
指定したメソッドが EDM の関数のプロキシであることを示します。
継承階層
System.Object
System.Attribute
System.Data.Entity.DbFunctionAttribute
System.Data.Entity.Core.Objects.DataClasses.EdmFunctionAttribute
名前空間: System.Data.Entity
アセンブリ: EntityFramework (EntityFramework.dll 内)
構文
'宣言
<SuppressMessageAttribute("Microsoft.Performance", "CA1813:AvoidUnsealedAttributes")> _
<AttributeUsageAttribute(AttributeTargets.Method, Inherited := False, AllowMultiple := False)> _
Public Class DbFunctionAttribute _
Inherits Attribute
'使用
Dim instance As DbFunctionAttribute
[SuppressMessageAttribute("Microsoft.Performance", "CA1813:AvoidUnsealedAttributes")]
[AttributeUsageAttribute(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
public class DbFunctionAttribute : Attribute
[SuppressMessageAttribute(L"Microsoft.Performance", L"CA1813:AvoidUnsealedAttributes")]
[AttributeUsageAttribute(AttributeTargets::Method, Inherited = false, AllowMultiple = false)]
public ref class DbFunctionAttribute : public Attribute
[<SuppressMessageAttribute("Microsoft.Performance", "CA1813:AvoidUnsealedAttributes")>]
[<AttributeUsageAttribute(AttributeTargets.Method, Inherited = false, AllowMultiple = false)>]
type DbFunctionAttribute =
class
inherit Attribute
end
public class DbFunctionAttribute extends Attribute
DbFunctionAttribute 型で公開されるメンバーは以下のとおりです。
コンストラクター
名前 | 説明 | |
---|---|---|
![]() |
DbFunctionAttribute | DbFunctionAttribute クラスの新しいインスタンスを初期化します。 |
上揃え
プロパティ
名前 | 説明 | |
---|---|---|
![]() |
FunctionName | マップ先関数の名前。 |
![]() |
NamespaceName | マップ先関数の名前空間。 |
![]() |
TypeId | (Attribute から継承されます。) |
上揃え
メソッド
名前 | 説明 | |
---|---|---|
![]() |
Equals | (Attribute から継承されます。) |
![]() |
Finalize | (Object から継承されます。) |
![]() |
GetHashCode | (Attribute から継承されます。) |
![]() |
GetType | (Object から継承されます。) |
![]() |
IsDefaultAttribute | (Attribute から継承されます。) |
![]() |
Match | (Attribute から継承されます。) |
![]() |
MemberwiseClone | (Object から継承されます。) |
![]() |
ToString | (Object から継承されます。) |
上揃え
明示的なインターフェイスの実装
名前 | 説明 | |
---|---|---|
![]() ![]() |
_Attribute.GetIDsOfNames | (Attribute から継承されます。) |
![]() ![]() |
_Attribute.GetTypeInfo | (Attribute から継承されます。) |
![]() ![]() |
_Attribute.GetTypeInfoCount | (Attribute から継承されます。) |
![]() ![]() |
_Attribute.Invoke | (Attribute から継承されます。) |
上揃え
解説
このクラスは、Entity Framework の以前の一部のバージョンでは、EdmFunctionAttribute と呼ばれていたことに注意してください。
スレッド セーフ
この型のすべてのパブリック static (Visual Basic では Shared) メンバーは、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。