[Bug ] when generatr database is "No object found"

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
Posts: 1
Joined: Tue 15 Nov 2011 14:31

[Bug ] when generatr database is "No object found"

Post by pyzboc » Tue 15 Nov 2011 15:26

when I has Table per hierarchy (tph) generate Databaseid error !

this is model:
public abstract class people
int32 ID;(entity key,identity)
char type;
public class Student : people
when type=="s"
public class worker : people
when type=='w'

this model is vaild.

then generatr database Script is error :"No object found"

Devart Team
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Post by StanislavK » Thu 17 Nov 2011 17:58

Could you please describe the issue more precisely? For example, please specify the following:
- the ORM solution you are working with (e.g., Entity Framework or LinqConnect);
- the DBMS your model should work with;
- the version of Entity Developer you are using.

Generally, this issue may occur if you are working in the model-first mode, and no storage part of the model was created. If this is the case, please perform one of the following to create the storage part:
- enable the 'Regenerate Storage' check box in the 'Update Database from Model' wizard;
- enable mapping synchronization in the Synchronization -> Mapping node of the 'Model Settings' dialog box (double-click the model canvas to open its settings).

If the issue persists, please send us the model, with which this error occurs, so that we are able to analyze it in more details.

Post Reply