Пример #1
0
        public void Update(int IdRelacion, int IdEfector, int IdRecienNacido, int IdDefectoCongenito, bool?DefectoMayor, string CreatedBy, DateTime?CreatedOn, string ModifiedBy, DateTime?ModifiedOn)
        {
            AprRelRecienNacidoDefectoCongenito item = new AprRelRecienNacidoDefectoCongenito();

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

            item.IdRelacion = IdRelacion;

            item.IdEfector = IdEfector;

            item.IdRecienNacido = IdRecienNacido;

            item.IdDefectoCongenito = IdDefectoCongenito;

            item.DefectoMayor = DefectoMayor;

            item.CreatedBy = CreatedBy;

            item.CreatedOn = CreatedOn;

            item.ModifiedBy = ModifiedBy;

            item.ModifiedOn = ModifiedOn;

            item.Save(UserName);
        }
Пример #2
0
        public void Insert(int IdEfector, int IdRecienNacido, int IdDefectoCongenito, bool?DefectoMayor, string CreatedBy, DateTime?CreatedOn, string ModifiedBy, DateTime?ModifiedOn)
        {
            AprRelRecienNacidoDefectoCongenito item = new AprRelRecienNacidoDefectoCongenito();

            item.IdEfector = IdEfector;

            item.IdRecienNacido = IdRecienNacido;

            item.IdDefectoCongenito = IdDefectoCongenito;

            item.DefectoMayor = DefectoMayor;

            item.CreatedBy = CreatedBy;

            item.CreatedOn = CreatedOn;

            item.ModifiedBy = ModifiedBy;

            item.ModifiedOn = ModifiedOn;


            item.Save(UserName);
        }