.Net Core
文章平均质量分 64
wish366
这个作者很懒,什么都没留下…
展开
-
DB migration automatically with DB first (using PostgreSQL) in .NET 5
Please see the content first:DB first (using PostgreSQL) in .NET 5We knowed that our program's release path is from DEV to QAS to PRD.1. Create new objects in your DB of DEV, and export all sql scripts into a file.for exapmle: I have exported a file.原创 2022-05-12 13:39:59 · 145 阅读 · 0 评论 -
DB first (using PostgreSQL) in .NET 5
1.Create a projectunder your solution, there is DbFirst.API2. Install EntityFrameworkCore, Microsoft.EntityFrameworkCore.Design,Microsoft.EntityFrameworkCore.Tools, Npgsql.EntityFrameworkCore.PostgreSQL by NuGet4. Installdotnet-efdotnet tool in...原创 2021-09-17 14:05:05 · 183 阅读 · 0 评论 -
Code first (using PostgreSQL) in .NET 5
1. Open your VS and create two projects, there are CodeFirst.API and CodeFirstModel.1.1 CodeFirst.API project1.2 CodeFirst.Model2. Add a user class in CodeFirst.Model project.using System;using System.Collections.Generic;using Sys...原创 2021-09-16 08:30:45 · 138 阅读 · 0 评论 -
多线程实现方法 (threadpool and async method) in .Net Core.
.NET CORE 中实现多线程的两种方法(个人经验总结),两种方法使用的场景不同1.使用ThreadPoolusing System;using System.Collections.Generic;using System.Text;using System.Threading;using System.Threading.Tasks;namespace ConsoleApp1{ public class MyThreadPool { public原创 2021-05-13 16:16:23 · 284 阅读 · 0 评论