public ControlaMeli()
 {
     try
     {
         ConstruirEF cf = new ConstruirEF();
         n = (NSAADMEntities)cf.RecuperaEntity(Entities.MercadoLivre);
         d = (from p in n.DadosMLs where p.id == "Meli" select p).First();
         m = new Meli(Convert.ToInt64(d.ClientId), d.ClientSecret, d.AccessToken, d.RefreshToken);
     }
     catch (Exception ex)
     {
         throw new Exception(String.Format("Erro no New do ControlaMeli"), ex);
     }
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the DadosMLs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDadosMLs(DadosML dadosML)
 {
     base.AddObject("DadosMLs", dadosML);
 }
 /// <summary>
 /// Create a new DadosML object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 public static DadosML CreateDadosML(global::System.String id)
 {
     DadosML dadosML = new DadosML();
     dadosML.id = id;
     return dadosML;
 }