Result

Here's the content of the /Data/Models/Result.cs class file:

using System;using System.Collections.Generic;using System.ComponentModel;using System.ComponentModel.DataAnnotations;using System.ComponentModel.DataAnnotations.Schema;namespace TestMakerFreeWebApp.Data{    public class Result    {        #region Constructor        public Result()        {        }        #endregion        #region Properties        [Key]        [Required]        public int Id { get; set; }        [Required]        public int QuizId { get; set; }        [Required]        public string Text { get; set; }        public int? MinValue { get; set; }        public int? MaxValue { get; set; }        public string Notes { get; set; }        [DefaultValue(0)]        public int Type { get; set; }        [DefaultValue(0)]        public int Flags { get; set; }        [Required] public DateTime CreatedDate { get; set; ...

Get ASP.NET Core 2 and Angular 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.