public DepMst Details(int?id) { try { DepMst depMst = db.DepMsts.Find(id); return(depMst); } catch (Exception ex) { DepMst depMst = null; return(depMst); } finally { db.Dispose(); } }
protected override void Dispose(bool disposing) { if (disposing) { db.Dispose(); } base.Dispose(disposing); }
public StateMst Details(int?id) { try { StateMst objMst = db.StateMsts.Find(id); return(objMst); } catch (Exception ex) { StateMst objMst = null; return(objMst); } finally { db.Dispose(); } }
public TeacherCollegeMapp Details(int?id) { try { TeacherCollegeMapp objMst = db.TeacherCollegeMapps.Find(id); return(objMst); } catch (Exception ex) { TeacherCollegeMapp objMst = null; return(objMst); } finally { db.Dispose(); } }
public Enrollment Details(int?id) { try { Enrollment objMst = db.Enrollments.Find(id); return(objMst); } catch (Exception ex) { Enrollment objMst = null; return(objMst); } finally { db.Dispose(); } }
public TeacherMst Details(int?id) { try { TeacherMst TeacherMst = db.TeacherMsts.Find(id); return(TeacherMst); } catch (Exception ex) { TeacherMst TeacherMst = null; return(TeacherMst); } finally { db.Dispose(); } }
public CollegeMst Details(int?id) { try { CollegeMst CollMst = db.CollegeMsts.Find(id); return(CollMst); } catch (Exception ex) { CollegeMst CollMst = null; return(CollMst); } finally { db.Dispose(); } }