예제 #1
0
        public void Insert(string Nombre, int Valor)
        {
            EmrGlasgowMotor item = new EmrGlasgowMotor();

            item.Nombre = Nombre;

            item.Valor = Valor;


            item.Save(UserName);
        }
예제 #2
0
        public void Update(int IdGlasgowMotor, string Nombre, int Valor)
        {
            EmrGlasgowMotor item = new EmrGlasgowMotor();

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

            item.IdGlasgowMotor = IdGlasgowMotor;

            item.Nombre = Nombre;

            item.Valor = Valor;

            item.Save(UserName);
        }
예제 #3
0
 public bool Destroy(object IdGlasgowMotor)
 {
     return(EmrGlasgowMotor.Destroy(IdGlasgowMotor) == 1);
 }
예제 #4
0
 public bool Delete(object IdGlasgowMotor)
 {
     return(EmrGlasgowMotor.Delete(IdGlasgowMotor) == 1);
 }