Beispiel #1
0
 public Kullanici Get(int id)
 {
     using (Filesystem_ibrahimContext db = new Filesystem_ibrahimContext())
     {
         return(db.Kullanici.Single(x => x.KullaniciId == id));
     }
 }
Beispiel #2
0
 public List <Dosya> Get()
 {
     using (Filesystem_ibrahimContext db = new Filesystem_ibrahimContext())
     {
         return(db.Dosya.ToList());
     }
 }
 public EfPaylasilanlarDal()
 {
     this.db = new Filesystem_ibrahimContext();
 }
Beispiel #4
0
 public EfHomeDal()
 {
     this.db = new Filesystem_ibrahimContext();
 }
 public EfDosyaDal(IHostingEnvironment hostingEnvironment)
 {
     this.db = new Filesystem_ibrahimContext();
     this.hostingEnvironment = hostingEnvironment;
 }