Search found 105 matches

by cjbiggs
Fri 17 Dec 2010 22:08
Forum: dotConnect for PostgreSQL
Topic: A Dependent Role has multiple principals with different valu
Replies: 2
Views: 4462

This is the code but everything is working fine now. Thanks for your help with this.

using (DataModel1Entities db = new DataModel1Entities())
{
Multimaster mmparent = new Multimaster
{
Id = 3,
Value = "inserted"
};

Multimaster mmchild1 = new Multimaster
{
Id = 4,
Value = "inserted"
};

Multimaster mmchild2 = new Multimaster
{
Id = 5,
Value = "inserted"
};

Multidetail md1 = new Multidetail
{
Id = 3,
Multimaster = mmchild1,
Multimaster1 = mmparent,
Value = "inserted"
};
Multidetail md2 = new Multidetail
{
Id = 4,
Multimaster = mmchild2,
Multimaster1 = mmparent,
Value = "inserted"
};
db.AddToMultimasters(mmparent);
db.SaveChanges();
}
}
by cjbiggs
Thu 18 Nov 2010 16:08
Forum: dotConnect for PostgreSQL
Topic: Devart Entity Model Template generate data types incorrectly
Replies: 12
Views: 1901

I would have to create a sample, because my view is tied to my application tables. But it seem like you was able to reproduce the problem yourself. The view that is composed of joining two other views set all fields in the returning view to primarily keys.
by cjbiggs
Wed 17 Nov 2010 22:01
Forum: dotConnect for PostgreSQL
Topic: Devart Entity Model Template generate data types incorrectly
Replies: 12
Views: 1901

It seem to be working better in some cases, but doesn't work right in other cases. It set all the fields to primarily keys when you have a view that uses over views inside of it.

Thanks,

Charlie J.
by cjbiggs
Wed 17 Nov 2010 19:04
Forum: dotConnect for PostgreSQL
Topic: Devart Entity Model Template generate data types incorrectly
Replies: 12
Views: 1901

Ok. I will do that and let you know by the end of this week.

Thanks,

Charlie J.
by cjbiggs
Sat 13 Nov 2010 02:32
Forum: dotConnect for PostgreSQL
Topic: Comments on the table columns in Entity Developer
Replies: 12
Views: 1606

Does this include all fixes that was put into dotConnect for Postgres 4.95.190?
by cjbiggs
Fri 29 Oct 2010 15:36
Forum: dotConnect for PostgreSQL
Topic: Devart Entity Model Template generate data types incorrectly
Replies: 12
Views: 1901

Great Thanks. I am able to work around it by editing all my views. It is alot of manual work.
by cjbiggs
Fri 29 Oct 2010 15:28
Forum: Entity Framework support
Topic: dotConnect for MySql, Silverlight 4 and RIA Services
Replies: 9
Views: 5008

Great Thanks. I was just making sure.
by cjbiggs
Thu 28 Oct 2010 15:16
Forum: dotConnect for PostgreSQL
Topic: Devart Entity Model Template generate data types incorrectly
Replies: 12
Views: 1901

I am using dotConnect for Postgres 4.95.180.0 and not dotConnect for Oracle. My try it with dotConnect for Postgres 4.95.180.0.

Thanks,

Charlie J.
by cjbiggs
Tue 26 Oct 2010 23:03
Forum: Entity Framework support
Topic: dotConnect for MySql, Silverlight 4 and RIA Services
Replies: 9
Views: 5008

Is Item #1 still not support. Are edml models and RIA Services supported in dotConnect for Postgres 4.95.180.0?

Posted: Mon 29 Mar 2010 13:39 Post subject:

--------------------------------------------------------------------------------

1. There is currently no support for .edml models and RIA Services.
by cjbiggs
Tue 26 Oct 2010 15:06
Forum: dotConnect for PostgreSQL
Topic: Devart Entity Model Template generate data types incorrectly
Replies: 12
Views: 1901

I was having a problem setting it the model as well, because the Store had it as non-nullable and and changing the Model gives a fragmented mapping error because we are mapping nullable field to a non-nullable store.

I don't have an actual script for the tables and view I can send you, but just create some tables with non-nullable and nullable fields and use it in the view. The ADO.NET Entity will infer them correctly in the EDMX, but using the Devart Model will set every field as the Entity Key which have to be non-nullable in the EDML.

Thanks,

Charlie J.
by cjbiggs
Mon 25 Oct 2010 15:01
Forum: dotConnect for PostgreSQL
Topic: Devart Entity Model Template generate data types incorrectly
Replies: 12
Views: 1901

Devart Entity Model Template generate data types incorrectly

The VS 2010 Devart Entity Model Template and Entity Developer (EDML) generate the CSDL and the SSDL incorrectly from my Database View. It set all the fields in the view to Entity Keys and make them non-nullable. My Database view join 3 tables that have primarly keys, and some some nullable fields in the table. When I generate an EDMX using the ADO.NET Entity Model and dotConnect for Progres Provider it seem to be generated correctly.

I am using dotConnect for Progres 4.95.180.0

Thanks,

Charlie J.
by cjbiggs
Mon 18 Oct 2010 19:00
Forum: dotConnect for PostgreSQL
Topic: Multiple insert statements with protocol 3
Replies: 53
Views: 10008

Great. Thanks. Procotol 3 Unprepared Execute=true; gives me the same performance as Procotol 2.

Charlie J.
by cjbiggs
Mon 18 Oct 2010 14:57
Forum: Entity Developer
Topic: Foreign Key referencing Unique Key not show as a Navigation
Replies: 12
Views: 7925

Any Update on this issue?
by cjbiggs
Thu 14 Oct 2010 18:27
Forum: dotConnect for PostgreSQL
Topic: Multiple insert statements with protocol 3
Replies: 53
Views: 10008

Hey.

I am using the new dotConnect for Postgres 4.95.180.0 build.

[Devart]
We have fixed the problem with Unprepared Execute for connections created using DbProviderFactory. The fix will be available in the nearest build, which we plan to release next week.

This seem to have fixed the Unprepared Execute for connections created using DbProviderFactory when Protocol = Ver20. But the problem still exist for when Protocol=Ver30.

[Devart]
The performance problem is caused by the fact that by default Protocol 3 prepares commands before execution. When this preparation is disabled, the performance of Protocol 3 is approximately the same as the one of Protocol 2.

I need a fix for the performance problem when using DbProviderFactory and Protocol = Ver30.

Please run the sample test program you sent me to recreate the problem I am referring too on the latest dotConnect for Postgres version 4.95.180.0

Thanks,

Charlie J.
[/img]
by cjbiggs
Mon 11 Oct 2010 14:39
Forum: dotConnect for PostgreSQL
Topic: Multiple insert statements with protocol 3
Replies: 53
Views: 10008

Ok. I understand. Thanks. So the fixed you mention that will be ready this week, will fix the performance problem for using DBProviderFactory.

[Devart]
We have fixed the problem with Unprepared Execute for connections created using DbProviderFactory. The fix will be available in the nearest build, which we plan to release next week.