Yes, it's possible. Check this:
H2 (DBMS) - Wikipedia[
^]. At the bottom of page, you'll find a link to h2sharp project:
Quote:
This project wraps the resulting library with classes that implement the ADO.Net interface to allow for easy use in .Net projects.
Sample code[^]:
using System;
using System.Data.H2;
namespace H2SharpExample
{
public class Program
{
static void Main(string[] args)
{
using (H2Connection connection = new H2Connection("jdbc:h2:~/test", "sa", ""))
{
connection.Open();
using (H2Command command = connection.CreateCommand())
{
command.CommandText = "Select 'hello world'";
Console.WriteLine(command.ExecuteScalar());
}
}
}
}
}