Table of Contents

Enum SqlGenericConstructorExpression.CreateType

Namespace
LinqToDB.Internal.Expressions
Assembly
linq2db.dll

Defines instance creation approach/method.

public enum SqlGenericConstructorExpression.CreateType
Extension Methods

Fields

Auto = 1

Defines entity materialization with fields set based on database operation (exclude fields, ignored for INSERT or UPDATE).

Full = 2

Defines entity materialization with all fields set.

Incompatible = 0

Default value, defines unknown creation type.

Keys = 3

Defines entity materialization with only key fields set.

MemberInit = 5

Object created using combination of constructor call and member init expressions (MemberInitExpression).

MethodCall = 6

Object created as a result of method call (MethodCallExpression).

New = 4

Object created using constructor call (NewExpression).