摘要:
namespace MyPreContentTeach { public class IQueryableAndIEnumerable { public void Test1() { EFDBEntities db = new EFDBEntities(); // string sql = "sel 阅读全文
摘要:
dynamic:这个关键字,是和泛型配合使用的,指示代码跳过编译期的数据检查,在运行期的时候在确定数据类型 使用泛型-->代码简洁、数据安全 public void GenericAdd<T1, T2>(T1 a, T2 b) where T1 : struct where T2 : struct 阅读全文