DefaultValueBinding Class

Definition

Defines the binding of parameters to create the default value of a type.

public class DefaultValueBinding : Microsoft.EntityFrameworkCore.Metadata.InstantiationBinding
type DefaultValueBinding = class
    inherit InstantiationBinding
Public Class DefaultValueBinding
Inherits InstantiationBinding
Inheritance
DefaultValueBinding

Remarks

See Entity types with constructors for more information and examples.

Constructors

DefaultValueBinding(Type)

Creates a new DefaultValueBinding instance.

Properties

ParameterBindings

The collection of ParameterBinding instances used.

(Inherited from InstantiationBinding)
RuntimeType

The type that will be created from the expression tree created for this binding.

Methods

CreateConstructorExpression(ParameterBindingInfo)

Creates a MethodCallExpression using the given method.

With(IReadOnlyList<ParameterBinding>)

Creates a copy that contains the given parameter bindings.

Applies to