MemberTypesAttribute(MemberTypes) Constructor
The member types that are used when auto mapping. MemberTypes are flags, so you can choose more than one. Default is Properties.

Syntax

public MemberTypesAttribute(MemberTypes memberTypes)

Parameters

Name Type Description
memberTypes MemberTypes