Share via


ModelCodeGenerationOptions.UseDataAnnotations Property

Definition

Gets or sets a value indicating whether to use data annotations.

public virtual bool UseDataAnnotations { get; set; }
member this.UseDataAnnotations : bool with get, set
Public Overridable Property UseDataAnnotations As Boolean

Property Value

A value indicating whether to use data annotations.

Applies to