一些知识点

一、使用mysql查询数据库中的表信息

column_name:列名称
information_schema.columns:表示所有列的信息(在整个mysql里面)
information_schema:表示所有信息,包括库、表、列
information_schema.tables:表示所有表的信息
table_schema:数据库的名称
table_name:表的名称

data_type:数据类型

column_comment:列的说明

 

扩展知识:

Mysql的key:https://blog.csdn.net/BruceBupt/article/details/89331998

五大对象:

https://blog.csdn.net/hemingyang97/article/details/81146848

 

参考:https://www.cnblogs.com/aitong/p/12022060.html

 

 

 

二、关于Excel的导入遇到的问题

1. 时间格式转换

Excel.日期或者时间格式为:42093.6506944444 或者 0.650694444444444

 

公共类DateUtil 

包含用于处理Excel日期的方法。

 

参考:https://www.cnblogs.com/a14907/p/7403407.html

https://blog.csdn.net/qq_24470501/article/details/89537778

2. DataTable去重

参考:https://blog.csdn.net/qq_38173650/article/details/83053755

3. Linq -Any的使用,判断是否存在

Determines whether a sequence contains any elements.

确定序列是否包含任何元素。

参考:https://www.cnblogs.com/insus/p/5383102.html

 

4. 文件上传

文件上传功能在实际开发中经常使用,在 .Net Core中,文件上传接收类型不再使用 HttpPostedFile 或 HttpFileCollection来接收,而是使用 IFormFile 或 IFormFileCollection来接收。

参考http://www.manongjc.com/detail/11-elathiirqewtydp.html

原文地址:https://www.cnblogs.com/cyqdeshenluo/p/14266841.html