Example #1
0
        public UserRepository(GraduateNotesContext _context)
        {
            context = _context;
            table   = context.Set <UserEntity>();

            context.Database.EnsureCreated();
        }
 public NoteSharingRepository(GraduateNotesContext _context)
 {
     context = _context;
     table   = context.Set <NoteSharing>();
 }
Example #3
0
 public NoteRepository(GraduateNotesContext _context)
 {
     context = _context;
     table   = context.Set <NoteEntity>();
 }