摘要:
Startup.cs下ConfigureServices代码 services.AddSwaggerGen(c => { c.SwaggerDoc("v1", new OpenApiInfo { Title = "基础", Version = "v1" }); c.SwaggerDoc("v2", 阅读全文
摘要:
方法一、使用linq List<Dictionary<string, object>> dict = dt.AsEnumerable().Select( row => dt.Columns.Cast<DataColumn>().ToDictionary( column => column.Colum 阅读全文