摘要:
标量函数用于传入多个参数返回一个结果 1.定义 1 use AdventureWorks2014; 2 go 3 if exists(select * from sys.objects where name='udf_GET_AssignedEquipment') 4 drop function d 阅读全文
摘要:
1.软删除接口 1 public interface ISoftDelete 2 { 3 bool IsDeleted { get; set; } 4 } 2.实体类实现 1 public class TestDeleted:ISoftDelete 2 { 3 public int Id { get 阅读全文
摘要:
代码我参考了一本书 Modern API Design with ASP.NET Core 2 Building Cross-Platform Back-End Systems 网上也有一个很牛 https://jasonwatmore.com/post/2018/08/14/aspnet-core 阅读全文