GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - koenbeuk/EntityFrameworkCore.BookStoreSampleApp

BranchesTags
Open more actions menu

Latest commit

 

History

14 Commits
14 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
BookStoreSampleApp.Common
BookStoreSampleApp.Common
 
 
BookStoreSampleApp.Simple
BookStoreSampleApp.Simple
 
 
BookStoreSampleApp.Triggered
BookStoreSampleApp.Triggered
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
BookStoreSampleApp.sln
BookStoreSampleApp.sln
 
 
README.md
README.md
 
 

Repository files navigation

A sample application used for demonstrating where EntityFrameworkCore.Triggered ads value

Scenario

We're implementing a book store. We should keep track of the following entities: Books, Customers, Purchases and Emails. There are a few requirements that we need to cover:

  • When a book gets added/updated with a price of 0. All customers will automatically purchase this book for that price.
  • When a customer signs up, all books with a price of 0 will automatically be purchased by that customer.
  • When a customer signs up, we'll sent a welcome email to that customer automatically.
  • When the customer makes a purchase, we'll send a purchase confirmation email to that customer automatically.
  • When a customer signs up, we'll automatically assign Customer.SignupDate to the current date.
  • When an email gets queued we'll automatically set the QueuedDate to now
  • When an email gets sent out we'll automatically set the SentDate to now

Implementations

There are 2 variants of the same sample application: BookStoreSampleApp.Simple and BookStoreSampleApp.Triggered. The former covers a traditional implementation of the given scenario wheras the latter embraced EntityFrameworkCore.Triggered to drive its business logic

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

6 stars

Watchers

2 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.