摘要:
1.新建两个实体,一个班级有多个学生 public class Student { public int StudentId { get; set; } public string StudentName { get; set; } public Grade Grade { get; set; } 阅读全文
摘要:
vmware安装centos7 mini后启用网络 1.输入命令 cd /etc/sysconfig/network scripts 2.敲入ls命令查看文件夹下的文件 3.修改第一个配置文件ifcfg ens33,将onboot=no改为onboot=yes 4.重启网络服务 service ne 阅读全文
摘要:
1.c date to js date var csharpStr='/Date(1479694396330)/'; //替换掉非数字 csharpStr=csharpStr.replace(/[^0 9+]/g, ''); var date = new Date(parseInt(csharpDa 阅读全文
摘要:
1.拓展EnumHelper public static class EnumHelper { // Get the value of the description attribute if the // enum has one, otherwise use the value. public 阅读全文
摘要:
1.List to DataTable public static DataTable ToDataTable(this IList data) { DataTable dataTable = new DataTable(typeof(TSource).Name); PropertyInfo[] p 阅读全文