直接修改T4 模版中对应关系就可以了,我这里是去掉了表中的“_” 转载于:https://www.cnblogs.com/bindot/p/ef_update_entity.html