private async Task CreateIfNotExistTable <T>() where T : ITable, new() { try { await DataBaseConnection.CreateTableAsync <T>(); var count = await DataBaseConnection.Table <T>().CountAsync(); if (count == 0) { var elements = GetTable <T>(); await DataBaseConnection.InsertAllAsync(elements); } } catch (Exception exception) { GaService.TrackAppException(this.Class, string.Format("CreateIfNotExistTable<{0}>", new T()), exception, false); } }