/// <summary>
 /// Deprecated Method for adding a new object to the CihazKapsamAyrintiKamu EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCihazKapsamAyrintiKamu(CihazKapsamAyrintiKamu cihazKapsamAyrintiKamu)
 {
     base.AddObject("CihazKapsamAyrintiKamu", cihazKapsamAyrintiKamu);
 }
 protected void CihazKapsamAyrintiKamuTablosunaEkle()
 {
     sfKalDataEntities ent = new sfKalDataEntities();
     CihazKapsamAyrintiKamu oCihazKapsamAyrintiKamu = new CihazKapsamAyrintiKamu();
     oCihazKapsamAyrintiKamu.CihazID = int.Parse(Session["CihazKapsamUIDCihazId"].ToString());
     oCihazKapsamAyrintiKamu.Lab = ddlLablar.SelectedValue;
     oCihazKapsamAyrintiKamu.OlcAraligi = txtOlcumAraligi.Text.Trim();
     oCihazKapsamAyrintiKamu.BirimBedel = decimal.Parse(txtBirimBedel.Text.ToString());
     oCihazKapsamAyrintiKamu.EkBolgemi = chkEkBolge.Checked;
     oCihazKapsamAyrintiKamu.KalYeri = ddlKalYEri.SelectedValue;
     oCihazKapsamAyrintiKamu.Puan = decimal.Parse(txtPuan.Text.Trim());
     ent.AddToCihazKapsamAyrintiKamu(oCihazKapsamAyrintiKamu);
     ent.SaveChanges();
 }
 /// <summary>
 /// Create a new CihazKapsamAyrintiKamu 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 CihazKapsamAyrintiKamu CreateCihazKapsamAyrintiKamu(global::System.Int32 id, global::System.Int32 cihazID, global::System.Boolean ekBolgemi)
 {
     CihazKapsamAyrintiKamu cihazKapsamAyrintiKamu = new CihazKapsamAyrintiKamu();
     cihazKapsamAyrintiKamu.ID = id;
     cihazKapsamAyrintiKamu.CihazID = cihazID;
     cihazKapsamAyrintiKamu.EkBolgemi = ekBolgemi;
     return cihazKapsamAyrintiKamu;
 }