using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Data;using System.Data.Sql ...
分类:
数据库 时间:
2020-06-27 20:12:12
阅读次数:
73
using System;using System.Collections.Generic;using System.ComponentModel.Design;using System.Linq;using System.Text;using System.Threading.Tasks; nam ...
分类:
其他好文 时间:
2020-06-27 19:55:37
阅读次数:
73
参考资料: 微软MVP杨旭教程:https://www.bilibili.com/video/BV1xa4y1v7rR?p=11 准备工作 Web项目中的配置 测试配置是否成功 准备工作 添加一个Web API项目并设为启动项目,并添加对Demo.Data和Demo.Domain的引用。 为该项目安 ...
分类:
Web程序 时间:
2020-06-27 00:01:58
阅读次数:
106
类别 /// <summary> /// 用户类 /// </summary> [Table("TB_User")] public class UserModel { [Key] public int UId { get; set; } public int UName { get; set; } ...
分类:
Web程序 时间:
2020-06-26 22:08:49
阅读次数:
65
最近尝试用WPF重新编写之前用WinForm编写的应用程序,在使用中,需要从数据库查询到一系列数据库,在前台DataGrid里面显示出来。 后台 : using System; using System.Collections.Generic; using System.Linq; using Sy ...
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc; namespace WeekMvc.Controllers{ public class Goo ...
分类:
Web程序 时间:
2020-06-26 20:02:21
阅读次数:
61
1. c#容器。及性能比较。 https://blog.csdn.net/chen8238065/article/details/47018271/ 2. IList list 3. AddRange() 4. var关键字 5. list的linq操作 https://www.cnblogs.co ...
C# using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace HelloWorld { class Program { static void Main(strin ...
分类:
编程语言 时间:
2020-06-25 20:00:13
阅读次数:
93
参考 官方文档 EF优化之启动预热 Dapper中文文档 ...
分类:
其他好文 时间:
2020-06-25 19:13:41
阅读次数:
53
一、使用场景 我们在将 JSON 反序列化实体集的时候,如果字段是固定的,那么我们序列化非常简单,对应字段写的实体集就可以了。比如下面这种: { "data":[ { "houseid": "210166268", "city": "唐山", "pv": "1" } ], "message": "S ...