摘要:日期时间相关示例 日期时间相关示例 读取配置文件示例 读取配置文件示例 查找文件 查找文件 访问数据库,调用存储过程 访问数据库,调用存储过程
阅读全文
摘要:若想通过DBlink 清空表或执行存储过程,可以通过这种方式 Insert into table select * from table时,Pull 方式比Push方式快很多
阅读全文
摘要:使用require.js, modul要用define来定义,下图为定义了模块A。 定义模块B,模块B是对模块A的扩展,所以依赖模块A Index.js为require需要的main.js 页面中引用用require.js 导入index.js
阅读全文
摘要:引言 导入数据到SQL Server 是常见的需求,特别是定期导入这种需求。 对于定期导入主要有以下几种方式可选择: 接下来我们详细分析下他们的特点和要求 Bulk Insert 执行环境:SQL Server,属于Transact SQL, 可在查询窗口和存储过程中运行。 支持版本:从SQL Se
阅读全文
摘要:有这样的场景,对于泛型参数T需要在运行时传入,如下面的T 用一般方式是不可行的,因为T是在编译时确定的。 可以用反射来实现。
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace EFLogging { class Program { ...
阅读全文
摘要:We’ll add the DateCreated, UserCreated, DateModified and UserModified fields to each entity by creating a BaseEntity.cs class. Each entity that you wa
阅读全文