Skip to content

Instantly share code, notes, and snippets.

@AbubakarSiddiq
Created December 25, 2016 12:06
Show Gist options
  • Save AbubakarSiddiq/92c01090cc3036effa2e24d7cc987bd8 to your computer and use it in GitHub Desktop.
Save AbubakarSiddiq/92c01090cc3036effa2e24d7cc987bd8 to your computer and use it in GitHub Desktop.
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
namespace DataBaseDemo.Models
{
public class Student
{
public int ID { get; set; }
public string Name { get; set; }
public string Email { get; set; }
}
public class StudentDBContext : DbContext
{
public StudentDBContext()
{
}
public DbSet<Student> Students { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment