I have a .NET code f开发者_JS百科irst EF 4.1 set of objects that I am configuring with attributes.
I would like to rename the column used as the discriminator for my Type-Per-Hierarchy inheritance and also control the values of the discriminator column.
I've seen examples of how to do this with fluent mapping, but since I am using attributes everywhere else, I'd like to be consistent and configure it using attributes. Is this even possible?
It's not possible to do that with attributes.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论