static void Main(string[] args) { HealthyJourneyContext ctx = null; ctx = new HealthyJourneyContext(); Admin c = new Admin { UserName = "******",Password="******",ConfirmPAssword="******",Email="*****@*****.**",IsApproved=false }; ctx.Users.Add(c); ctx.SaveChanges(); }
static void Main(string[] args) { HealthyJourneyContext ctx = null; ctx = new HealthyJourneyContext(); Badge badge = new Badge { Label="thaer" }; ctx.Badges.Add(badge); ctx.SaveChanges(); }