I use sqlmetal to generate cs code.
sql metal generates property attributes in form
[Column()]
public string Floorlimit { ....
I need to specify that this property is discriminator. Since C# does not
support partial properties, I added manually to generated code
[Column(IsDiscri minator=true)]
After I re-run sqlmetal, all IsDiscriminator values are lost.
How to set IsDiscriminator property so that this value persist after cs
code is re-generated by sqlmetal ?
Andrus.
sql metal generates property attributes in form
[Column()]
public string Floorlimit { ....
I need to specify that this property is discriminator. Since C# does not
support partial properties, I added manually to generated code
[Column(IsDiscri minator=true)]
After I re-run sqlmetal, all IsDiscriminator values are lost.
How to set IsDiscriminator property so that this value persist after cs
code is re-generated by sqlmetal ?
Andrus.