Example #1
0
        public void Update(int Id, int Sexo, int Edad, decimal L, decimal M, decimal S, decimal P01, decimal P1, decimal P3, decimal P5, decimal P10, decimal P15, decimal P25, decimal P50, decimal P75, decimal P85, decimal P90, decimal P95, decimal P97, decimal P99, decimal P999)
        {
            AprPercentilesIMCEdad item = new AprPercentilesIMCEdad();

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

            item.Id = Id;

            item.Sexo = Sexo;

            item.Edad = Edad;

            item.L = L;

            item.M = M;

            item.S = S;

            item.P01 = P01;

            item.P1 = P1;

            item.P3 = P3;

            item.P5 = P5;

            item.P10 = P10;

            item.P15 = P15;

            item.P25 = P25;

            item.P50 = P50;

            item.P75 = P75;

            item.P85 = P85;

            item.P90 = P90;

            item.P95 = P95;

            item.P97 = P97;

            item.P99 = P99;

            item.P999 = P999;

            item.Save(UserName);
        }
Example #2
0
 public bool Destroy(object Id)
 {
     return(AprPercentilesIMCEdad.Destroy(Id) == 1);
 }
Example #3
0
 public bool Delete(object Id)
 {
     return(AprPercentilesIMCEdad.Delete(Id) == 1);
 }