我在座的第一个问题,是:
因此,我想到一个新网站,由于我 m忙地再次 same着同样的 st子,我希望尽可能使用“一代”友好的 st子。
This has made me take a peek at the SubSonic project (have been looking at the other stuff created by Rob as well) and I really like the concept. The only thing on my mind is the scenario where I have created my database-model using the ASP.NET "build-in" Membership provider.
The stuff I am currently facing is the fact that if I have, for example, a News
table with an EditorID
and a CreatorID
column which are both a foreign key to the aspnet_Users
table, this gets me in to kind of a trouble.
The properties generated on my News
class will be named aspnet_Users
and aspnet_Users1
Is there some way of hijacking this process and having it make use of the foreign key name or something? I would like to have these properties called Editor and Creator of course.
这是可能的吗?