积极答复者
codefirst模式,BLL层中的T4怎么引用实体模型?

问题
答案
-
你好,
Code First 不需要用到T4 模板的吧,如果是Code First 模式,应该是直接手写的Model吧。或者从数据库里面导出Model.
Best regards,
Zhanglong
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.- 已标记为答案 CrazedChicken 2018年4月27日 5:40
全部回复
-
你好,
Code First 不需要用到T4 模板的吧,如果是Code First 模式,应该是直接手写的Model吧。或者从数据库里面导出Model.
Best regards,
Zhanglong
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.- 已标记为答案 CrazedChicken 2018年4月27日 5:40