Base Class Namespace

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
nico193
Posts: 3
Joined: Fri 06 Nov 2015 10:04

Base Class Namespace

Post by nico193 » Tue 17 Nov 2015 11:33

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 {
    

MariiaI
Devart Team
Posts: 1472
Joined: Mon 13 Feb 2012 08:17

Re: Base Class Namespace

Post by MariiaI » Thu 19 Nov 2015 10:48

Thank you for the report on this, we have reproduced this issue. We will inform you when it is fixed.

MariiaI
Devart Team
Posts: 1472
Joined: Mon 13 Feb 2012 08:17

Re: Base Class Namespace

Post by MariiaI » Thu 26 Nov 2015 13:13

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.

Post Reply