Class GeneralRequest
{
String BaseProperty { get set}
}
RapidRequest: GeneralRequest
{
Bool IsSignRequired { get set}
}
BackRequest : GeneralRequest
{
Bool IsSignRequired { get set}
}
OtherRequest: GeneralRequest
{
String Note { get set}
}
This is the structure of codes I have in my project.
The property IsSignRequired comes in BackRequest and RapidRequest but it need not come in OtherRequest.
But when I generate database using this codes.
I get property IsSignRequired comes twice in my table as IsSignRequired1 IsSignRequired2 etc.
How can I specify that it is only neded once in my table
OtherRequestproperty in your model? I see theOtherRequestclass only.