DbFunctionAttribute クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
CLR メソッドを LINQ クエリで使用できるように、静的 CLR メソッドをデータベース関数にマップします。 慣例により、.NET メソッド名をデータベース関数の名前と既定のスキーマとして使用します。
[System.AttributeUsage(System.AttributeTargets.Method)]
[System.Runtime.CompilerServices.Nullable(0)]
public class DbFunctionAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Method)]
public class DbFunctionAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method)>]
[<System.Runtime.CompilerServices.Nullable(0)>]
type DbFunctionAttribute = class
inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Method)>]
type DbFunctionAttribute = class
inherit Attribute
Public Class DbFunctionAttribute
Inherits Attribute
- 継承
-
DbFunctionAttribute
- 属性
注釈
詳細と例については、 データベース関数 を参照してください。
コンストラクター
| Name | 説明 |
|---|---|
| DbFunctionAttribute() |
DbFunctionAttribute クラスの新しいインスタンスを初期化します。 |
| DbFunctionAttribute(String, String) |
DbFunctionAttribute クラスの新しいインスタンスを初期化します。 |
プロパティ
| Name | 説明 |
|---|---|
| FunctionName |
データベース内の関数の名前。 |
| IsBuiltIn |
データベース関数が組み込まれているかどうかを示す値。 |
| IsNullable |
データベース関数が null 結果を返すことができるかどうかを示す値。 |
| IsNullableHasValue |
IsNullableが値に明示的に設定されているかどうかを確認します。 |
| Name |
データベース内の関数の名前。 |
| Schema |
データベース内の関数のスキーマ。 |