Geeksltd / Olive

Olive framework, for more productive cross platform .NET solutions. It's available under the GPL v3 license. See License.md for more information.
https://geeksltd.github.io/Olive
Other
44 stars 44 forks source link

Wrong SQL code when we have an inheritance #306

Closed iPazooki closed 3 years ago

iPazooki commented 3 years ago

When we have inheritance, for instance, something like this code:

Class BaseProcess  : EntityType
{
       public BaseSetting()
       {
            Abstract();
            ....
       }
}

public class ProviderSetting : SubType<BaseProcess >
{
       public ProviderSetting()
       {
            ...
       }
}

M# will generate the wrong T-SQL code when we are going to load data from ProviderSetting and throw an exception.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.