Language

ICSharpHelper.Statement メソッド

定義

オーバーロード

Name 説明
Statement(Expression, ISet<String>)

ステートメントを表すノードを、それを生成するソース コードに変換します。

Statement(Expression, ISet<String>, ISet<String>, IReadOnlyDictionary<Object,String>, IReadOnlyDictionary<MemberInfo,QualifiedName>)

ステートメントを表すノードを、それを生成するソース コードに変換します。

Statement(Expression, ISet<String>)

ソース:
ICSharpHelper.cs

ステートメントを表すノードを、それを生成するソース コードに変換します。

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public string Statement(System.Linq.Expressions.Expression node, System.Collections.Generic.ISet<string> collectedNamespaces);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member Statement : System.Linq.Expressions.Expression * System.Collections.Generic.ISet<string> -> string
Public Function Statement (node As Expression, collectedNamespaces As ISet(Of String)) As String

パラメーター

node
Expression

変換するノード。

collectedNamespaces
ISet<String>

変換されたコードに必要なすべての名前空間がこのセットに追加されます。

戻り値

nodeを生成するソース コード。

属性

注釈

これは、パブリック API と同じ互換性標準の対象ではなく、Entity Framework Core インフラストラクチャをサポートする内部 API です。 これは、任意のリリースで予告なしに変更または削除される可能性があります。 コード内で直接使用する場合は、細心の注意を払う必要があります。これを行うと、新しいEntity Framework Core リリースに更新するときにアプリケーションのエラーが発生する可能性があることを認識してください。

適用対象

Statement(Expression, ISet<String>, ISet<String>, IReadOnlyDictionary<Object,String>, IReadOnlyDictionary<MemberInfo,QualifiedName>)

ソース:
ICSharpHelper.cs
ソース:
ICSharpHelper.cs
ソース:
ICSharpHelper.cs

ステートメントを表すノードを、それを生成するソース コードに変換します。

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public string Statement(System.Linq.Expressions.Expression node, System.Collections.Generic.ISet<string> collectedNamespaces, System.Collections.Generic.ISet<string> unsafeAccessors, System.Collections.Generic.IReadOnlyDictionary<object,string>? constantReplacements = default, System.Collections.Generic.IReadOnlyDictionary<System.Reflection.MemberInfo,Microsoft.EntityFrameworkCore.Design.Internal.QualifiedName>? memberAccessReplacements = default);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member Statement : System.Linq.Expressions.Expression * System.Collections.Generic.ISet<string> * System.Collections.Generic.ISet<string> * System.Collections.Generic.IReadOnlyDictionary<obj, string> * System.Collections.Generic.IReadOnlyDictionary<System.Reflection.MemberInfo, Microsoft.EntityFrameworkCore.Design.Internal.QualifiedName> -> string
Public Function Statement (node As Expression, collectedNamespaces As ISet(Of String), unsafeAccessors As ISet(Of String), Optional constantReplacements As IReadOnlyDictionary(Of Object, String) = Nothing, Optional memberAccessReplacements As IReadOnlyDictionary(Of MemberInfo, QualifiedName) = Nothing) As String

パラメーター

node
Expression

変換するノード。

collectedNamespaces
ISet<String>

変換されたコードに必要なすべての名前空間がこのセットに追加されます。

unsafeAccessors
ISet<String>

プライベート メンバーにアクセスするために必要な安全でないアクセサーは、このディクショナリに追加されます。

constantReplacements
IReadOnlyDictionary<Object,String>

静的に既知のインスタンスの翻訳のコレクション。

memberAccessReplacements
IReadOnlyDictionary<MemberInfo,Microsoft.EntityFrameworkCore.Design.Internal.QualifiedName>

非パブリック メンバー アクセスの翻訳のコレクション。

戻り値

nodeを生成するソース コード。

属性

注釈

これは、パブリック API と同じ互換性標準の対象ではなく、Entity Framework Core インフラストラクチャをサポートする内部 API です。 これは、任意のリリースで予告なしに変更または削除される可能性があります。 コード内で直接使用する場合は、細心の注意を払う必要があります。これを行うと、新しいEntity Framework Core リリースに更新するときにアプリケーションのエラーが発生する可能性があることを認識してください。

適用対象