MethodCallCodeFragment Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a call to a method.
[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
- Inheritance
-
MethodCallCodeFragment
- Attributes
- Implements
Remarks
See Implementation of database providers and extensions for more information and examples.
Constructors
| Name | Description |
|---|---|
| MethodCallCodeFragment(MethodInfo, Object[], MethodCallCodeFragment) |
Obsolete.
Initializes a new instance of the MethodCallCodeFragment class. |
| MethodCallCodeFragment(MethodInfo, Object[]) |
Initializes a new instance of the MethodCallCodeFragment class. |
| MethodCallCodeFragment(String, Object[], MethodCallCodeFragment) |
Obsolete.
Initializes a new instance of the MethodCallCodeFragment class. |
| MethodCallCodeFragment(String, Object[]) |
Obsolete.
Initializes a new instance of the MethodCallCodeFragment class. |
Properties
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| IMethodCallCodeFragment.Arguments | |
| IMethodCallCodeFragment.ChainedCall | |
| IMethodCallCodeFragment.TypeArguments | |
Extension Methods
| Name | Description |
|---|---|
| GetRequiredUsings(MethodCallCodeFragment) |
Gets the using statements required for this method call. |