MiniExcel/tests/MiniExcelTests/Utils/Db.cs
Jef b27b169e2a
Make System.DateOnly available as date in Excel (#576)
* Format the code and remove trailing whitespaces

* Update Visual Studio gitignore template

* Refactor: rename variables, add comments

* Support writing DateOnly type to Excel

---------

Co-authored-by: Jef Van den Brandt <Jef.VandenBrandt@cheops.be>
2024-03-31 23:49:31 +08:00

13 lines
311 B
C#

namespace MiniExcelLibs.Tests.Utils
{
using System.Data.SQLite;
internal static class Db
{
internal static SQLiteConnection GetConnection(string connectionString = "Data Source=:memory:")
{
return new SQLiteConnection(connectionString);
}
}
}