/// <summary>
 /// Deprecated Method for adding a new object to the CihazKapsamAyrintiOzel EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCihazKapsamAyrintiOzel(CihazKapsamAyrintiOzel cihazKapsamAyrintiOzel)
 {
     base.AddObject("CihazKapsamAyrintiOzel", cihazKapsamAyrintiOzel);
 }
 protected void CihazKapsamAyrintiOzelTablosunaEkle()
 {
     sfKalDataEntities ent = new sfKalDataEntities();
     CihazKapsamAyrintiOzel oCihazKapsamAyrintiOzel = new CihazKapsamAyrintiOzel();
     oCihazKapsamAyrintiOzel.CihazID = int.Parse(Session["CihazKapsamUIDCihazId"].ToString());
     oCihazKapsamAyrintiOzel.Lab = ddlLablar.SelectedValue;
     oCihazKapsamAyrintiOzel.OlcAraligi = txtOlcumAraligi.Text.Trim();
     oCihazKapsamAyrintiOzel.BirimBedel = decimal.Parse(txtBirimBedel.Text.ToString());
     oCihazKapsamAyrintiOzel.EkBolgemi = chkEkBolge.Checked;
     oCihazKapsamAyrintiOzel.KalYeri = ddlKalYEri.SelectedValue;
     oCihazKapsamAyrintiOzel.Puan = decimal.Parse(txtPuan.Text.Trim());
     ent.AddToCihazKapsamAyrintiOzel(oCihazKapsamAyrintiOzel);
     ent.SaveChanges();
 }
 /// <summary>
 /// Create a new CihazKapsamAyrintiOzel object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="cihazID">Initial value of the CihazID property.</param>
 /// <param name="ekBolgemi">Initial value of the EkBolgemi property.</param>
 public static CihazKapsamAyrintiOzel CreateCihazKapsamAyrintiOzel(global::System.Int32 id, global::System.Int32 cihazID, global::System.Boolean ekBolgemi)
 {
     CihazKapsamAyrintiOzel cihazKapsamAyrintiOzel = new CihazKapsamAyrintiOzel();
     cihazKapsamAyrintiOzel.ID = id;
     cihazKapsamAyrintiOzel.CihazID = cihazID;
     cihazKapsamAyrintiOzel.EkBolgemi = ekBolgemi;
     return cihazKapsamAyrintiOzel;
 }