Beispiel #1
0
 public bool insertLink(tLinks obj)
 {
     lock (locker)
     {
         try
         {
             database.DeleteAll <tLinks>();
             database.Insert(obj);
             return(true);
         }
         catch (Exception ex)
         {
             System.Diagnostics.Debug.WriteLine(ex.Message + "inserttLinks");
             return(false);
         }
     }
 }
Beispiel #2
0
        public static string getApiUrl()
        {
            tLinks objLink = App.Database.isLinkInDataBase();

            return((objLink != null) ? objLink.baseWebApi : "");
        }