语言

MethodCallCodeFragment 类

定义

表示对方法的调用。

[System.Runtime.CompilerServices.Nullable(0)]
public class MethodCallCodeFragment : Microsoft.EntityFrameworkCore.Design.IMethodCallCodeFragment
public class MethodCallCodeFragment
public class MethodCallCodeFragment : Microsoft.EntityFrameworkCore.Design.IMethodCallCodeFragment
[<System.Runtime.CompilerServices.Nullable(0)>]
type MethodCallCodeFragment = class
    interface IMethodCallCodeFragment
type MethodCallCodeFragment = class
type MethodCallCodeFragment = class
    interface IMethodCallCodeFragment
Public Class MethodCallCodeFragment
Implements IMethodCallCodeFragment
Public Class MethodCallCodeFragment
继承
MethodCallCodeFragment
特性
实现

注解

有关详细信息和示例,请参阅 数据库提供程序和扩展的实现 。

构造函数

名称 说明
MethodCallCodeFragment(MethodInfo, Object[], MethodCallCodeFragment)
已过时.

初始化 MethodCallCodeFragment 类的新实例。

MethodCallCodeFragment(MethodInfo, Object[])

初始化 MethodCallCodeFragment 类的新实例。

MethodCallCodeFragment(String, Object[], MethodCallCodeFragment)
已过时.

初始化 MethodCallCodeFragment 类的新实例。

MethodCallCodeFragment(String, Object[])
已过时.

初始化 MethodCallCodeFragment 类的新实例。

属性

名称 说明
Arguments

获取方法调用的参数。

ChainedCall

获取在此之后对链的下一个方法调用。

DeclaringType

获取方法声明类型的名称。

Method

获取方法的名称。

MethodInfo

获取 MethodInfo 此方法调用。

Namespace

获取方法声明类型的命名空间。

方法

名称 说明
Chain(MethodCallCodeFragment)

从此方法创建一个方法链到另一个方法链。

Chain(MethodInfo, Object[])

从此方法创建一个方法链到另一个方法链。

Chain(String, Object[])
已过时.

从此方法创建一个方法链到另一个方法链。

显式接口实现

名称 说明
IMethodCallCodeFragment.Arguments

表示对方法的调用。

IMethodCallCodeFragment.ChainedCall

表示对方法的调用。

IMethodCallCodeFragment.TypeArguments

表示对方法的调用。

扩展方法

名称 说明
GetRequiredUsings(MethodCallCodeFragment)

获取此方法调用所需的 using 语句。

适用于