/// <summary>
        /// Agrega un registro a la tabla LineaBase.
        /// </summary>
        /// <param name="lineaBase">LineaBase</param>
        public void Agregar(LineaBase lineaBase)
        {
            using (DbCommand command = DB.GetStoredProcCommand("dbo.USP_FASE_INS"))
            {
                DB.AddInParameter(command, "@NOMBRE", DbType.String, lineaBase.Nombre);
                DB.AddInParameter(command, "@CODIGO_FASE", DbType.Int32, lineaBase.ProyectoFase.Id);
                DB.AddInParameter(command, "@DESCRIPCION", DbType.String, lineaBase.Descripcion);
                DB.AddInParameter(command, "@ESTADO", DbType.String, lineaBase.Estado);

                DB.AddOutParameter(command, "@CODIGO", DbType.Int32, 4);

                DB.ExecuteNonQuery(command);

                lineaBase.Id = Convert.ToInt32(DB.GetParameterValue(command, "@CODIGO"));
            }
        }
 /// <summary>
 /// Agrega un registro a la tabla LineaBase.
 /// </summary>
 /// <param name="lineaBase">LineaBase</param>
 public void Agregar(LineaBase lineaBase)
 {
     _lineaBaseData.Agregar(lineaBase);
 }