An open API service indexing awesome lists of open source software.

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

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).