public void AddDefaultFileTO(DBDefaultFileTO item)
        {
            SQLiteConnection connection = GetConnection();

            connection.CreateTable <DBDefaultFileTO>();
            connection.Insert(item);
        }
 public DBpopupfileTO(DBDefaultFileTO source)
 {
     this.uuid        = source.uuid;
     this.name        = source.name;
     this.fileType    = source.fileType;
     this.md5         = source.md5;
     this.downloadUrl = source.downloadUrl;
     this.mimeType    = source.mimeType;
     this.folderUuid  = source.folderUuid;
 }
        public void ClearDefaultFileTO(DBDefaultFileTO item = null)
        {
            SQLiteConnection connection = GetConnection();

            connection.CreateTable <DBDefaultFileTO>();
            //            try
            //            {
            if (item == null)
            {
                connection.DropTable <DBDefaultFileTO> ();
                return;
            }
            connection.Delete(item);
            //            }
            //            catch{
            //            }
        }