https://github.com/djaus2/djsefblogexample.xamarin
A Sqlite Entity Framework Xamarin Sample app as per DJsEFBlogExample
https://github.com/djaus2/djsefblogexample.xamarin
Last synced: 4 months ago
JSON representation
A Sqlite Entity Framework Xamarin Sample app as per DJsEFBlogExample
- Host: GitHub
- URL: https://github.com/djaus2/djsefblogexample.xamarin
- Owner: djaus2
- License: gpl-3.0
- Created: 2018-07-06T12:33:58.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-06T13:17:16.000Z (almost 8 years ago)
- Last Synced: 2025-06-27T00:45:52.164Z (12 months ago)
- Size: 37.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DJsEFBlogExample.Xamarin (Under development)
A Sqlite Entity Framework Xamarin Sample app as per DJsEFBlogExample
Based upon my Github project [DJsEFBlogExample](https://github.com/djaus2/DJsEFBlogExample) reworked so as to be
implemented in Xamarin as per [Entity Framework Core with Xamarin.Forms](https://xamarinhelp.com/entity-framework-core-xamarin-forms/). DJsEFBlogExample is based upon [Getting Started with EF Core on Universal Windows Platform UWP with a New Database from Microsoft docs](https://docs.microsoft.com/en-us/ef/core/get-started/uwp/getting-started)
Following the first part of Getting Started with EF Core on Universal Windows Platform (UWP) with a New Database from Microsoft docs.
Also using my hints in Entity Framework with UWP and SQLite: Referencing the Model
- Using Visual Studio Preview 15.5.8 Update 2 (or later)
- Using EF Version 2.1.1 in what follows.
There is an issue with respect to referencing an EF Framework Core class library from a UWP app. This solution has resolved the issue.
# Branches
Apart from the Master, the other branches are snapshots of the Master at various stages.
## Master
This is the main sequence, latest version is here.
This starts with the example in Microsoft Docs example at [https://docs.microsoft.com/en-us/ef/core/get-started/uwp/getting-started] entitled: **"Getting Started with EF Core on Universal Windows Platform (UWP) with a New Database"**. That only implements adding Blogs, no Posts created. The app then implements Posts creation and some CRUD, database manipulations.
## 1. MSDocsExample
Steps as per, and only as per, the Microsoft Docs example with a few small refinemnets
## 2. AddPostsAndCRUD
Can add posts to a Blog. Also implements database **CRUD:** Besides CREATE (Blogs and Posts) can READ (query to get Posts for a Blog), can UPDATE (Blog and Post updates), and DELETE (can delete indivual Posts or a Blog and all of of its Posts .. Cascasde Deletes used for that).