Ejemplo n.º 1
0
 /// <summary>
 /// Create a new HamStok object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="tarih">Initial value of the Tarih property.</param>
 /// <param name="irsaliyeNo">Initial value of the IrsaliyeNo property.</param>
 /// <param name="aciklama">Initial value of the Aciklama property.</param>
 /// <param name="isAktif">Initial value of the IsAktif property.</param>
 public static HamStok CreateHamStok(global::System.Int32 id, global::System.DateTime tarih, global::System.String irsaliyeNo, global::System.String aciklama, global::System.Boolean isAktif)
 {
     HamStok hamStok = new HamStok();
     hamStok.Id = id;
     hamStok.Tarih = tarih;
     hamStok.IrsaliyeNo = irsaliyeNo;
     hamStok.Aciklama = aciklama;
     hamStok.IsAktif = isAktif;
     return hamStok;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the HamStok EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHamStok(HamStok hamStok)
 {
     base.AddObject("HamStok", hamStok);
 }
Ejemplo n.º 3
0
        private void gridView2_RowClick(object sender, RowClickEventArgs e)
        {
            int hamStokId = Convert.ToInt32(gridView2.GetFocusedRowCellValue("Id"));

            seciliHamStok = new Stok.Services.HamStok().GetbyId(hamStokId);
            txtAciklama.Text = seciliHamStok.Aciklama;
            txtIrsaliyeNo.Text = seciliHamStok.IrsaliyeNo;
            dtTarih.EditValue = seciliHamStok.Tarih;
            GridHamStokDetayDoldur();
        }