如果模型是使用 4.1 ADO.NET DbContext Generator 或其他東西生成的,我們如何為模型使用數據註釋?
您可以使用部分元數據類
引用自:https://stackoverflow.com/questions/5956081