public void Insert(int IdRegistroGuardia, int?IdEfector, int IdC2, bool Sospecha, DateTime?Fecha, int AuditUser) { GuardiaC2 item = new GuardiaC2(); item.IdRegistroGuardia = IdRegistroGuardia; item.IdEfector = IdEfector; item.IdC2 = IdC2; item.Sospecha = Sospecha; item.Fecha = Fecha; item.AuditUser = AuditUser; item.Save(UserName); }
public void Update(int Id, int IdRegistroGuardia, int?IdEfector, int IdC2, bool Sospecha, DateTime?Fecha, int AuditUser) { GuardiaC2 item = new GuardiaC2(); item.MarkOld(); item.IsLoaded = true; item.Id = Id; item.IdRegistroGuardia = IdRegistroGuardia; item.IdEfector = IdEfector; item.IdC2 = IdC2; item.Sospecha = Sospecha; item.Fecha = Fecha; item.AuditUser = AuditUser; item.Save(UserName); }
public bool Destroy(object Id) { return(GuardiaC2.Destroy(Id) == 1); }
public bool Delete(object Id) { return(GuardiaC2.Delete(Id) == 1); }