废话不多说,直接上图秒懂. t1表的结构与数据如下: t2表的结构与数据如下: inner join select * from t1 inner join t2 on t1.id = t2.id; inner join会把公共部分的数据查询出来: left join select * from t1 left join t2 on t1.id = t2.id; left join查询出来的结果和前表记录数一样多,后表如果没有对应记录,则列为空: right join right join能转化…
秒懂C#通过Emit动态生成代码 首先需要声明一个程序集名称, 1 // specify a new assembly name 2 var assemblyName = new AssemblyName("Kitty"); 从当前应用程序域获取程序集构造器, 1 // create assembly builder 2 var assemblyBuilder = AppDomain.CurrentDomain 3 .DefineDynamicAssembly(assemblyNa…