diff --git a/MyFirstMauiApp/LocalDataStorageWithSQLite/App.xaml b/MyFirstMauiApp/LocalDataStorageWithSQLite/App.xaml new file mode 100644 index 0000000..3c3bdbe --- /dev/null +++ b/MyFirstMauiApp/LocalDataStorageWithSQLite/App.xaml @@ -0,0 +1,14 @@ + + + + + + + + + + + diff --git a/MyFirstMauiApp/LocalDataStorageWithSQLite/App.xaml.cs b/MyFirstMauiApp/LocalDataStorageWithSQLite/App.xaml.cs new file mode 100644 index 0000000..f29d480 --- /dev/null +++ b/MyFirstMauiApp/LocalDataStorageWithSQLite/App.xaml.cs @@ -0,0 +1,18 @@ +using LocalDataStorageWithSQLite.Repositories; + +namespace LocalDataStorageWithSQLite +{ + public partial class App : Application + { + public static PersonRepository PersonRepo { get; private set; } + + public App(PersonRepository repo) + { + InitializeComponent(); + + MainPage = new AppShell(); + + PersonRepo = repo; + } + } +} diff --git a/MyFirstMauiApp/LocalDataStorageWithSQLite/AppShell.xaml b/MyFirstMauiApp/LocalDataStorageWithSQLite/AppShell.xaml new file mode 100644 index 0000000..7d8dc33 --- /dev/null +++ b/MyFirstMauiApp/LocalDataStorageWithSQLite/AppShell.xaml @@ -0,0 +1,14 @@ + + + + + + diff --git a/MyFirstMauiApp/LocalDataStorageWithSQLite/AppShell.xaml.cs b/MyFirstMauiApp/LocalDataStorageWithSQLite/AppShell.xaml.cs new file mode 100644 index 0000000..cfbeff8 --- /dev/null +++ b/MyFirstMauiApp/LocalDataStorageWithSQLite/AppShell.xaml.cs @@ -0,0 +1,10 @@ +namespace LocalDataStorageWithSQLite +{ + public partial class AppShell : Shell + { + public AppShell() + { + InitializeComponent(); + } + } +} diff --git a/MyFirstMauiApp/LocalDataStorageWithSQLite/LocalDataStorageWithSQLite.csproj b/MyFirstMauiApp/LocalDataStorageWithSQLite/LocalDataStorageWithSQLite.csproj new file mode 100644 index 0000000..38124ca --- /dev/null +++ b/MyFirstMauiApp/LocalDataStorageWithSQLite/LocalDataStorageWithSQLite.csproj @@ -0,0 +1,57 @@ + + + + net7.0-android;net7.0-ios;net7.0-maccatalyst + $(TargetFrameworks);net7.0-windows10.0.19041.0 + + + Exe + LocalDataStorageWithSQLite + true + true + enable + + + LocalDataStorageWithSQLite + + + com.companyname.localdatastoragewithsqlite + 26712f3b-bddd-4b31-86d0-e8ba177a9bc3 + + + 1.0 + 1 + + 11.0 + 13.1 + 21.0 + 10.0.17763.0 + 10.0.17763.0 + 6.5 + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/MyFirstMauiApp/LocalDataStorageWithSQLite/MainPage.xaml b/MyFirstMauiApp/LocalDataStorageWithSQLite/MainPage.xaml new file mode 100644 index 0000000..795ab07 --- /dev/null +++ b/MyFirstMauiApp/LocalDataStorageWithSQLite/MainPage.xaml @@ -0,0 +1,38 @@ + + + + + + + +