Forum Cross Platform with Xamarin

SQLite DbContext class error

Lynx101Lynx101 Member ✭✭

Hi,
I cant seem to git ride of that Error, at first i thought it was dependecies, but after trying all sulutions, i still cant seem to solve it, Help please! below is the code:

protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
optionsBuilder.UseSqlite($"Filename={_databasePath}");
}

Answers

  • Ahsan_SiddiqueAhsan_Siddique PKMember ✭✭✭✭

    Which nuget package you are using for SQLite database.?

  • Lynx101Lynx101 Member ✭✭

    im using the Microsoft.EntityFrameworkCore.Sql

Sign In or Register to comment.