Page 1 of 1

Base Class Namespace

Posted: Tue 17 Nov 2015 11:33
by nico193
Hello,
When I create an inheritance (Table per concrete type) from a base class having a different namespace than the entity, I have a compilation error.
Basically, it seems the base class namespace is not taken into account ?

Code: Select all

using System;
using System.Collections;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Collections.Generic;

namespace Core.Entity.Buisness
{

    /// <summary>
    /// There are no comments for NewMx.Core.Entity.Buisness.LOTPROP, TestEntityDev in the schema.
    /// </summary>
    public partial class LOTPROP : BaseProp {
    

Re: Base Class Namespace

Posted: Thu 19 Nov 2015 10:48
by MariiaI
Thank you for the report on this, we have reproduced this issue. We will inform you when it is fixed.

Re: Base Class Namespace

Posted: Thu 26 Nov 2015 13:13
by MariiaI
The bug related to incorrect code generation, when namespaces for base and child classes in TPC inheritance are different, is fixed.

New build of Entity Developer 5.8.742 is available for download!
It can be downloaded from http://www.devart.com/entitydeveloper/download.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?f=32&t=32829.