Entity and dotConnect for mysql
Posted: Mon 05 Sep 2011 07:05
Hi! I use dotConnect for MySql >= 2 years; But I'm just disappointed every time.
Entity Developer && dotConnect for MySql has support in connection string param "Binary as Guid" ?? I think no :(
I generate entity (edmx || edml) and Guid Columns has type Binary!
If i generate edml he don't have navigation properties (forignkeys)! With edmx i have it.
I use jumptable for relationship, example:
table1 { table1Guid Binary(16) Primary } ->
jumptable { table1Guid binary(16) Primary FK , table2Guid binary(16) FK } ->
table2 { table2Guid binary(16) Primary }
With simple relationship all okey:
table1 { table1Guid Binary(16) Primary } ->
table2 { table2Guid binary(16) Primary , table1Guid binary(16) FK }

But, if i'm generate DataSet -> Guid Columns has type Guid!
Entity connection string:
metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=Devart.Data.MySql;provider connection string="User Id=root;Host=192.168.0.1;Database=server;Persist Security Info=True;Binary As Guid=True;Tiny As Boolean=True"
Perhaps, i can do something wrong?
When i generate edml i have NullReferenceException and list tables is emty. when i group by database and ungroup - list tables is load.

If i drop-down list Tables in "Database Explorer - Entity Developer" i have NullReferenceException
This exception only if in database exist procedure. I'm login in database by root account!
MySql: 5.5.8-enterprise-commercial-advanced-log
dotConnect for MySQL: 6.30.202.0 Pro with Entity Developer 4.0.30.0
P.S. I can not recover the password on my old account insan2006 (fors2006). It is blocked!?
P.P.S. I'm setup dotConnect for MySql with Sync Framework. And every as good (batching, filtering, bidirectional, client sqlce). I can provide example if needed.
Entity Developer && dotConnect for MySql has support in connection string param "Binary as Guid" ?? I think no :(
I generate entity (edmx || edml) and Guid Columns has type Binary!
If i generate edml he don't have navigation properties (forignkeys)! With edmx i have it.
I use jumptable for relationship, example:
table1 { table1Guid Binary(16) Primary } ->
jumptable { table1Guid binary(16) Primary FK , table2Guid binary(16) FK } ->
table2 { table2Guid binary(16) Primary }
With simple relationship all okey:
table1 { table1Guid Binary(16) Primary } ->
table2 { table2Guid binary(16) Primary , table1Guid binary(16) FK }

But, if i'm generate DataSet -> Guid Columns has type Guid!
Entity connection string:
metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=Devart.Data.MySql;provider connection string="User Id=root;Host=192.168.0.1;Database=server;Persist Security Info=True;Binary As Guid=True;Tiny As Boolean=True"
Perhaps, i can do something wrong?
When i generate edml i have NullReferenceException and list tables is emty. when i group by database and ungroup - list tables is load.

If i drop-down list Tables in "Database Explorer - Entity Developer" i have NullReferenceException
This exception only if in database exist procedure. I'm login in database by root account!
MySql: 5.5.8-enterprise-commercial-advanced-log
dotConnect for MySQL: 6.30.202.0 Pro with Entity Developer 4.0.30.0
P.S. I can not recover the password on my old account insan2006 (fors2006). It is blocked!?
P.P.S. I'm setup dotConnect for MySql with Sync Framework. And every as good (batching, filtering, bidirectional, client sqlce). I can provide example if needed.