Exemplo n.º 1
0
 public WorkshopMekanik(Context.WorkshopMekanik dbitem)
 {
     Id          = dbitem.Id;
     IdMekanik   = dbitem.IdMekanik;
     IdWorkshop  = dbitem.IdWorkshop;
     MekanikName = dbitem.DataMekanik.NamaMekanik;
     Bagian      = dbitem.Workshop.Jenis;
     NoPPK       = dbitem.Workshop.Workshop.NoPPK;
     Mulai       = (dbitem.Workshop.ServiceIn.ToString().Split())[0];
     Selesai     = (dbitem.Workshop.Estimasi.ToString().Split())[0];
     PPKSesudah  = "";
 }
Exemplo n.º 2
0
 public void setDb(Context.WorkshopMekanik dbitem)
 {
     dbitem.Id         = Id;
     dbitem.IdMekanik  = IdMekanik;
     dbitem.IdWorkshop = IdWorkshop;
 }