private void DetachVlu_Diem(Vlu_Diem entity)
 {
     entity.Vlu_TaiKhoan = null;
 }
 private bool FilterVlu_Diem(Vlu_Diem entity)
 {
     return (entity.SinhVienID == this.TaiKhoanID);
 }
 private bool FilterVlu_Diem(Vlu_Diem entity)
 {
     return (entity.MonHocID == this.MonHocID);
 }
 private void AttachVlu_Diem(Vlu_Diem entity)
 {
     entity.Vlu_TaiKhoan = this;
 }
 private void DetachVlu_Diem(Vlu_Diem entity)
 {
     entity.Vlu_MonHoc = null;
 }
 private void AttachVlu_Diem(Vlu_Diem entity)
 {
     entity.Vlu_MonHoc = this;
 }
 private bool FilterVlu_Diem(Vlu_Diem entity)
 {
     return (entity.LopID == this.LopID);
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Vlu_Diem EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToVlu_Diem(Vlu_Diem vlu_Diem)
 {
     base.AddObject("Vlu_Diem", vlu_Diem);
 }
 /// <summary>
 /// Create a new Vlu_Diem object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="sinhVienID">Initial value of the SinhVienID property.</param>
 /// <param name="monHocID">Initial value of the MonHocID property.</param>
 /// <param name="lopID">Initial value of the LopID property.</param>
 /// <param name="namHoc">Initial value of the NamHoc property.</param>
 /// <param name="hocKy">Initial value of the HocKy property.</param>
 /// <param name="ngayTao">Initial value of the NgayTao property.</param>
 public static Vlu_Diem CreateVlu_Diem(global::System.Int32 id, global::System.Int32 sinhVienID, global::System.Int32 monHocID, global::System.Int32 lopID, global::System.Int32 namHoc, global::System.Int32 hocKy, global::System.DateTime ngayTao)
 {
     Vlu_Diem vlu_Diem = new Vlu_Diem();
     vlu_Diem.ID = id;
     vlu_Diem.SinhVienID = sinhVienID;
     vlu_Diem.MonHocID = monHocID;
     vlu_Diem.LopID = lopID;
     vlu_Diem.NamHoc = namHoc;
     vlu_Diem.HocKy = hocKy;
     vlu_Diem.NgayTao = ngayTao;
     return vlu_Diem;
 }