ObjectArrayParameterBinding 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.
Describes the binding from many EF model properties, dependency injection services, or metadata types to a new array of objects suitable for passing to a general purpose factory method such as is often used for creating proxies.
[System.Runtime.CompilerServices.Nullable(0)]
public class ObjectArrayParameterBinding : Microsoft.EntityFrameworkCore.Metadata.ParameterBinding
public class ObjectArrayParameterBinding : Microsoft.EntityFrameworkCore.Metadata.ParameterBinding
[<System.Runtime.CompilerServices.Nullable(0)>]
type ObjectArrayParameterBinding = class
inherit ParameterBinding
type ObjectArrayParameterBinding = class
inherit ParameterBinding
Public Class ObjectArrayParameterBinding
Inherits ParameterBinding
- Inheritance
- Attributes
Remarks
See Entity types with constructors for more information and examples.
Constructors
| Name | Description |
|---|---|
| ObjectArrayParameterBinding(IReadOnlyList<ParameterBinding>) |
Creates a new ObjectArrayParameterBinding taking all the given ParameterBinding instances and combining them into one binding that will initialize an array of Object. |
Properties
| Name | Description |
|---|---|
| ConsumedProperties |
The properties that are handled by this binding and so do not need to be set in some other way. (Inherited from ParameterBinding) |
| ParameterType |
The parameter CLR type. (Inherited from ParameterBinding) |
Methods
| Name | Description |
|---|---|
| BindToParameter(ParameterBindingInfo) |
Creates an expression tree representing the binding of the value of a property from a materialization expression to a parameter of the constructor, factory method, etc. |
| With(IPropertyBase[]) |
Creates a copy that contains the given consumed properties. |