Search found 5 matches

by tzi
Tue 18 Jan 2011 10:07
Forum: dotConnect for Oracle
Topic: ORA-00936: missing expression - LightSwitch
Replies: 14
Views: 7070

Hi,

any updates on this topic? I encountered the same issue with the latest trial and I am eager to try Lightswitch + Oracle as an alternative RAD tool to Forms...

Cheers, Tom
by tzi
Tue 07 Sep 2010 13:36
Forum: dotConnect for PostgreSQL
Topic: Fault-tolerant handling of dying connections (with EF)
Replies: 1
Views: 1135

Fault-tolerant handling of dying connections (with EF)

Hi!

I am using dotConnect 4.95 with EF (and VS2008). If I insert an object into the model and the connection died, what is the best way to:

a.) reconnect
b.) have the object saved

Thanks,
Tom
by tzi
Wed 16 Jun 2010 16:41
Forum: Entity Framework support
Topic: warning 6002: The table/view no primary key
Replies: 4
Views: 6908

Hi!

The Devart ED did his job quite nice, some FKs werent recognized correctly (due to some datatype issues on the DB).

But, whats the issue with VS2008 ED?

Yours, Tom
by tzi
Wed 16 Jun 2010 11:30
Forum: Entity Framework support
Topic: warning 6002: The table/view no primary key
Replies: 4
Views: 6908

Hi!

Thank you for your answer, I will try to reproduce the issue with your Entity Designer instead of the VS2008 one.

However, which PostgreSQL server Version do you recommend to use?

Thanks, Tom
by tzi
Tue 15 Jun 2010 19:48
Forum: Entity Framework support
Topic: warning 6002: The table/view no primary key
Replies: 4
Views: 6908

warning 6002: The table/view no primary key

Dear Community,

edit: Using Vs2008 SP1, latest dotConnect for Postgresql, latest Postgresql DB (8.4.4) running on Win7

I have got serious issues with dotconnect for Postgresql. I tried a simple example, generating an EF Model from a database with a single table:

CREATE TABLE manufacturers
(
manufacturerid smallint NOT NULL,
manufacturername character varying(125) NOT NULL,
CONSTRAINT manufacturers_pkey PRIMARY KEY (manufacturerid)
)
WITH (
OIDS=FALSE
);


The resulting code in the model (model1.edmx) is:


SELECT
manufacturers.manufacturerid AS manufacturerid,
manufacturers.manufacturername AS manufacturername
FROM public.manufacturers AS manufacturers


Further I find the following error:
warning 6002: The table/view 'mydb.public.manufacturers' does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view.


Seems that the EF generator is unable to find my primary key and therefore generates a view rather then a table. Any inserts or updates using the EF objects subsequently failes.

Any ideas whats wrong?
Thanks!