Skip to content

CuteLeon/IntelligentInvestor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intelligent Investor

Intelligent Investor

A stock and quote system based on .Net 6.0

Refactored from https://github.com/CuteLeon/CleverStocker

Status

Screen

Database Migration

Setup

  1. Select IntelligentInvestor.Client as Startup project;
  2. Open Package Manager Console in Visual Studio;
  3. Select IntelligentInvestor.Infrastructure as Default project in Package Manager Console;
  4. Input commands and execute;

Commands

Command Description
Get-Help entityframework Displays information about entity framework commands.
Add-Migration Creates a migration by adding a migration snapshot.
Remove-Migration Removes the last migration snapshot.
Update-Database Updates the database schema based on the last migration snapshot.
Script-Migration Generates a SQL script using all the migration snapshots.
Scaffold-DbContext Generates a DbContext and entity type classes for a specified database. This is called reverse engineering.
Get-DbContext Gets information about a DbContext type.
Drop-Database Drops the database.

About

Intelligent Investor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages