Пример #1
0
 public int Elimina_C_CALLE(int?ID_CALLE = null, string usuario = null, string programa = null)
 {
     using (context = new SistemaSigeinEntities())
     {
         //Declaramos el objeto de valor de retorno
         ObjectParameter pout_clave_retorno = new ObjectParameter("POUT_CLAVE_RETORNO", typeof(int));
         context.SPE_ELIMINA_C_CALLE(pout_clave_retorno, ID_CALLE, usuario, programa);
         //regresamos el valor de retorno de sql
         return(Convert.ToInt32(pout_clave_retorno.Value));
     }
 }