Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一堆包含审计信息的模型(CreatedBy、CreateDate、UpdatedBy、UpdateDate)。我想创建一个部分视图来显示此信息,然后将其用于 20 个左右的表。这可能吗?
使用这些属性创建一个接口或基类,然后将部分视图声明为采用该公共类型。