MethodCallCodeFragment Class

Definition

Represents a call to a method.

public class MethodCallCodeFragment
public class MethodCallCodeFragment : Microsoft.EntityFrameworkCore.Design.IMethodCallCodeFragment
type MethodCallCodeFragment = class
type MethodCallCodeFragment = class
    interface IMethodCallCodeFragment
Public Class MethodCallCodeFragment
Public Class MethodCallCodeFragment
Implements IMethodCallCodeFragment
Inheritance
MethodCallCodeFragment
Implements

Remarks

See Implementation of database providers and extensions for more information and examples.

Constructors

MethodCallCodeFragment(MethodInfo, Object[])

Initializes a new instance of the MethodCallCodeFragment class.

MethodCallCodeFragment(MethodInfo, Object[], MethodCallCodeFragment)
Obsolete.

Initializes a new instance of the MethodCallCodeFragment class.

MethodCallCodeFragment(String, Object[])
Obsolete.

Initializes a new instance of the MethodCallCodeFragment class.

MethodCallCodeFragment(String, Object[], MethodCallCodeFragment)
Obsolete.

Initializes a new instance of the MethodCallCodeFragment class.

Properties

Arguments

Gets the method call's arguments.

ChainedCall

Gets the next method call to chain after this.

DeclaringType

Gets the name of the method's declaring type.

Method

Gets the method's name.

MethodInfo

Gets the MethodInfo for this method call.

Namespace

Gets the namespace of the method's declaring type.

Methods

Chain(MethodCallCodeFragment)

Creates a method chain from this method to another.

Chain(MethodInfo, Object[])

Creates a method chain from this method to another.

Chain(String, Object[])
Obsolete.

Creates a method chain from this method to another.

Explicit Interface Implementations

IMethodCallCodeFragment.Arguments
IMethodCallCodeFragment.ChainedCall
IMethodCallCodeFragment.TypeArguments

Extension Methods

GetRequiredUsings(MethodCallCodeFragment)

Gets the using statements required for this method call.

Applies to