Ejemplo n.º 1
0
        public async Task NotInitializedAsync()
        {
            IRepository <int, SQLiteDbItem> localRepository = new SQLiteRepository <int, SQLiteDbItem>(null, new SQLiteRepositoryOptions
            {
                ConnectionString = GetTempDbName()
            });

            localRepository.IsInitialized.Should().BeTrue();

            await localRepository.InsertAsync(new SQLiteDbItem
            {
                Id   = 1,
                Data = string.Empty
            });
        }