Enum SqlGenericConstructorExpression.CreateType
- Namespace
- LinqToDB.Internal.Expressions
- Assembly
- linq2db.dll
Defines instance creation approach/method.
public enum SqlGenericConstructorExpression.CreateType
- Extension Methods
Fields
Auto = 1Defines entity materialization with fields set based on database operation (exclude fields, ignored for INSERT or UPDATE).
Full = 2Defines entity materialization with all fields set.
Incompatible = 0Default value, defines unknown creation type.
Keys = 3Defines entity materialization with only key fields set.
MemberInit = 5Object created using combination of constructor call and member init expressions (MemberInitExpression).
MethodCall = 6Object created as a result of method call (MethodCallExpression).
New = 4Object created using constructor call (NewExpression).