Exemple #1
0
        protected override void ParamInserir(Data.Common.QuerySelectStoredProcedure qs, Entities.ACA_EventoLimite entity)
        {
            base.ParamInserir(qs, entity);

            qs.Parameters["@evl_dataCriacao"].Value   = DateTime.Now;
            qs.Parameters["@evl_dataAlteracao"].Value = DateTime.Now;
        }
        protected override void ParamInserir(Data.Common.QuerySelectStoredProcedure qs, Entities.DCL_ProtocoloHistorico entity)
        {
            entity.prh_dataCriacao   = DateTime.Now;
            entity.prh_dataAlteracao = DateTime.Now;

            base.ParamInserir(qs, entity);
        }
Exemple #3
0
 protected override bool ReceberAutoIncremento(Data.Common.QuerySelectStoredProcedure qs, Entities.ACA_EventoLimite entity)
 {
     entity.evl_id = Convert.ToInt32(qs.Return.Rows[0][0]);
     return(entity.evl_id > 0);
 }