摘要:public void Delete<T>(List<T> EntityList) where T : class, new() 的用法 就是说T必须是一个类(class)类型,不能是结构(structure)类型。 这是类型参数约束,.NET支持的类型参数约束有以下五种: where T : st
阅读全文
posted @ 2018-05-25 13:51
|
|
|
05 2018 档案
摘要:public void Delete<T>(List<T> EntityList) where T : class, new() 的用法 就是说T必须是一个类(class)类型,不能是结构(structure)类型。 这是类型参数约束,.NET支持的类型参数约束有以下五种: where T : st
阅读全文
posted @ 2018-05-25 13:51
|
|