Ejemplo n.º 1
0
        public void Insert(int?IdPrestacion, int?IdDatoReportable, string Valor)
        {
            PnRelPrestacionXDatoReportable item = new PnRelPrestacionXDatoReportable();

            item.IdPrestacion = IdPrestacion;

            item.IdDatoReportable = IdDatoReportable;

            item.Valor = Valor;


            item.Save(UserName);
        }
Ejemplo n.º 2
0
        public void Update(int IdPrestacionXDatoReportable, int?IdPrestacion, int?IdDatoReportable, string Valor)
        {
            PnRelPrestacionXDatoReportable item = new PnRelPrestacionXDatoReportable();

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

            item.IdPrestacionXDatoReportable = IdPrestacionXDatoReportable;

            item.IdPrestacion = IdPrestacion;

            item.IdDatoReportable = IdDatoReportable;

            item.Valor = Valor;

            item.Save(UserName);
        }
Ejemplo n.º 3
0
 public bool Destroy(object IdPrestacionXDatoReportable)
 {
     return(PnRelPrestacionXDatoReportable.Destroy(IdPrestacionXDatoReportable) == 1);
 }