@model Surveys.SurveysServiceReference.Survey @{ ViewBag.Title = "Create"; }
using System; using System.Runtime.Serialization; using System.Collections.Generic; namespace SurveysService.Models { [DataContract(IsReference = true)] public class Survey { public Survey() { this.Topics = new List<Topic>(); } [DataMember] public int SurveyID { get; set; } [DataMember] public string Title { get; set; } [DataMember] public string CreatedBy { get; set; } [DataMember] public Nullable<System.DateTime> Date { get; set; } [DataMember] public virtual ICollection<Topic> Topics { get; set; } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)