How to Integrate SQLite Database with EF Core in .Net MAUI App with Code First Migrations

preview_player
Показать описание
In this video I am showing how to integrate SQLite Database with Entity Frame Core (EF Core) in .Net MAUI Application with Code First Migrations

Add this tag to csproj to fix the type initializer module error
<WindowsAppSdkDeploymentManagerInitialize>false</WindowsAppSdkDeploymentManagerInitialize>

How to integrated SQLite database with EF Core in .Net MAUI App
How to Integrate SQLite database in .Net MAUI application .Net 8
How to add EF Core with SQLite database in .Net MAUI app
Integrating sqlite database with entity framework core in dot net maui application
sqlite database with entity framework core
sqlite with ef core
ef core with sqlit database in .net maui
entity framework core with sqlite .net maui
ef core code first migrations with sqlite in .net maui mobile app
ef core code first migrations with sqlite in .net maui desktop app
ef core code first migrations with sqlite in .net maui android app
ef core code first migrations with sqlite in .net maui ios app
ef core code first migrations with sqlite in .net maui iphone app
ef core code first migrations with sqlite in .net maui windows desktop app
ef core code first migrations with sqlite in .net maui macos app
ef core code first migrations with sqlite in .net maui mac desktop app

#netmaui #dotnetmaui #abhayprince #maui #netmauihowto #sqlite #efcore #efcoresqlite #sqliteefcore #sqlitemaui #mauisqlite #dotnetmauisqlite #sqlitedotnetmaui #dotnetmauicourse #dotnetmauitutorial #mauitutorial #dotnetmauiproject #mauiapp #dotnetmauiapp #dotnet #miniproject #csharp #tutorial #stepbystep #codewalkthrough #visualstudio #programminglanguages
#learntocode #abhayprince #microsoft #jamesmontemagno #mauicourse #mauiproject #dotnetmauirealworldproject #gerald #net8 #dotnet8 #maui8 #mobileapp
Рекомендации по теме
Комментарии
Автор

If an error occurs during migration creation [Unable to create a 'DbContext' of type ''. The exception 'This functionality is not implemented in the portable version of this assembly....], simply replace [string dbPath = Path.Combine(FileSystem.AppDataDirectory, "app.db");] with [string dbPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "app.db");] for DevicePlatform Android and WinUI

SMYS
Автор

I like EF Core. Can I use it instead of using sqlite-net-pcl without issues? I ask for Mobile Apps.

YassinAlHassany
Автор

Could you please explain .Net maui Shinny lib

YassinAlHassany
Автор

Is this possible only for windows app ?
You did comment out the android and ios platforms.

cissemy