Skip to content

DeybsonFerreira/dotnet-worker-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOTNET WORKER - WITH RABBIT MQ - Scaffold SQL

Packages

dotnet add package Microsoft.EntityFrameworkCore --version 7.0.0

dotnet add package Microsoft.EntityFrameworkCore.SqlServer --version 7.0.0

dotnet add package Microsoft.EntityFrameworkCore.Design --version 7.0.0

dotnet add package Microsoft.EntityFrameworkCore.Tools --version 7.0.0

dotnet add package Microsoft.Extensions.Configuration --version 7.0.0

dotnet add package RabbitMQ.Client --version 6.4.0

dotnet add package Newtonsoft.Json --version 13.0.2

Scaffold

dotnet ef dbcontext scaffold "Data Source=(localdb)\localhost;Initial Catalog=MyApp" Microsoft.EntityFrameworkCore.SqlServer

Scaffold-DbContext "Data Source=(localdb)\localhost;Initial Catalog=MyApp" Microsoft.EntityFrameworkCore.SqlServer

CREATE TABLE Messages (
    [Id]  INT NOT NULL IDENTITY PRIMARY KEY,
	[Text] varchar(300),
    [Read] bit
);

About

dotnet 6, workerService, with api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages