SQLite Database in .NET MAUI App (Android,IOS,WinUI)

Поділитися
Вставка
  • Опубліковано 4 лют 2025

КОМЕНТАРІ • 14

  • @hacked101
    @hacked101  Рік тому +5

    Please add this to the Init() method after the if statement
    Database = new SQLiteAsyncConnection(DatabasePath,Flags);
    Should be like this
    if(Database is not null)
    {
    return;
    }
    Database = new SQLiteAsyncConnection(DatabasePath,Flags);
    then follow the rest as normal on the video

    • @JoeRomano-s8g
      @JoeRomano-s8g 6 місяців тому

      How do you manage database migration?

  • @abhinav-ribu
    @abhinav-ribu Рік тому +2

    Can you please share the github repo link for the sample code ?

  • @EstherSoftwareDev
    @EstherSoftwareDev Рік тому

    Cool video, thank you for sharing

  • @pandiangnanadoss3619
    @pandiangnanadoss3619 Рік тому

    Dear Sir, I /m faced this error :
    System.Reflection.TargetInvocationException: 'Exception has been thrown by the target of an invocation.'

    • @hacked101
      @hacked101  Рік тому

      Follow the video carefully and check your code properly

  • @readdeadlife
    @readdeadlife Рік тому

    thank you brother

  • @曼巴-z1t
    @曼巴-z1t 11 місяців тому

    I found veriable Flages is not used.After finish code,It is a pity that maui app cannot be deployed to the Android emulator,why?

    • @hacked101
      @hacked101  11 місяців тому

      You can deploy to Android Emulator

  • @曼巴-z1t
    @曼巴-z1t 11 місяців тому

    I followed the procedure and the execution froze,I create project is maui blazor,why?

    • @hacked101
      @hacked101  11 місяців тому

      Check the pinned comment