MethodCallCodeFragment.Chain Method

Definition

Overloads

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.

Chain(MethodCallCodeFragment)

Creates a method chain from this method to another.

public virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment Chain (Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment call);
abstract member Chain : Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
override this.Chain : Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Public Overridable Function Chain (call As MethodCallCodeFragment) As MethodCallCodeFragment

Parameters

call
MethodCallCodeFragment

The next method.

Returns

A new fragment representing the method chain.

Applies to

Chain(MethodInfo, Object[])

Creates a method chain from this method to another.

public virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment Chain (System.Reflection.MethodInfo methodInfo, params object[] arguments);
public virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment Chain (System.Reflection.MethodInfo methodInfo, params object?[] arguments);
abstract member Chain : System.Reflection.MethodInfo * obj[] -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
override this.Chain : System.Reflection.MethodInfo * obj[] -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Public Overridable Function Chain (methodInfo As MethodInfo, ParamArray arguments As Object()) As MethodCallCodeFragment

Parameters

methodInfo
MethodInfo

The method's MethodInfo.

arguments
Object[]

The next method call's arguments.

Returns

A new fragment representing the method chain.

Applies to

Chain(String, Object[])

Caution

Use the overload accepting a MethodInfo

Creates a method chain from this method to another.

public virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment Chain (string method, params object[] arguments);
[System.Obsolete("Use the overload accepting a MethodInfo")]
public virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment Chain (string method, params object[] arguments);
public virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment Chain (string method, params object?[] arguments);
abstract member Chain : string * obj[] -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
override this.Chain : string * obj[] -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
[<System.Obsolete("Use the overload accepting a MethodInfo")>]
abstract member Chain : string * obj[] -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
override this.Chain : string * obj[] -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Public Overridable Function Chain (method As String, ParamArray arguments As Object()) As MethodCallCodeFragment

Parameters

method
String

The next method's name.

arguments
Object[]

The next method call's arguments.

Returns

A new fragment representing the method chain.

Attributes

Applies to