コード例 #1
0
        public void Insert(string Nombre, string CreatedBy, DateTime?CreatedOn, string ModifiedBy, DateTime?ModifiedOn)
        {
            AprDiagnosticoControlOdontologico item = new AprDiagnosticoControlOdontologico();

            item.Nombre = Nombre;

            item.CreatedBy = CreatedBy;

            item.CreatedOn = CreatedOn;

            item.ModifiedBy = ModifiedBy;

            item.ModifiedOn = ModifiedOn;


            item.Save(UserName);
        }
コード例 #2
0
        public void Update(int IdDiagnosticoControlOdontologico, string Nombre, string CreatedBy, DateTime?CreatedOn, string ModifiedBy, DateTime?ModifiedOn)
        {
            AprDiagnosticoControlOdontologico item = new AprDiagnosticoControlOdontologico();

            item.MarkOld();
            item.IsLoaded = true;

            item.IdDiagnosticoControlOdontologico = IdDiagnosticoControlOdontologico;

            item.Nombre = Nombre;

            item.CreatedBy = CreatedBy;

            item.CreatedOn = CreatedOn;

            item.ModifiedBy = ModifiedBy;

            item.ModifiedOn = ModifiedOn;

            item.Save(UserName);
        }
コード例 #3
0
 public bool Destroy(object IdDiagnosticoControlOdontologico)
 {
     return(AprDiagnosticoControlOdontologico.Destroy(IdDiagnosticoControlOdontologico) == 1);
 }