Modified:
trunk/CHANGES
trunk/MySql.Data.Entity/Provider/Fragments/TableFragment.cs
trunk/MySql.Data.Entity/Provider/Generators/SqlGenerator.cs
Log:
- Changed entity framework generation so that schemas are not written out. This allows
a single model to swing from one database to another by just changing the connection
string (bug #43274)
Modified: trunk/CHANGES
===================================================================
--- trunk/CHANGES 2009-03-31 19:39:41 UTC (rev 1540)
+++ trunk/CHANGES 2009-03-31 23:15:46 UTC (rev 1541)
@@ -2,6 +2,9 @@
- Fixed problem with the foreign key columns schema collection
- Fixed problem with index column schema collection
- Fixed problem with generation of medium and longtext columns in entity models
+- Changed entity framework generation so that schemas are not written out. This allows
+ a single model to swing from one database to another by just changing the connection
+ string (bug #43274)
Version 6.0
- Massive speedups
Modified: trunk/MySql.Data.Entity/Provider/Fragments/TableFragment.cs
===================================================================
--- trunk/MySql.Data.Entity/Provider/Fragments/TableFragment.cs 2009-03-31 19:39:41 UTC
(rev 1540)
+++ trunk/MySql.Data.Entity/Provider/Fragments/TableFragment.cs 2009-03-31 23:15:46 UTC
(rev 1541)
@@ -47,7 +47,7 @@
if (DefiningQuery != null)
sql.AppendFormat("({0})", DefiningQuery);
else
- sql.AppendFormat("{0}.{1}", QuoteIdentifier(Schema),
QuoteIdentifier(Table));
+ sql.AppendFormat("{0}", QuoteIdentifier(Table));
base.WriteSql(sql);
}
}
Modified: trunk/MySql.Data.Entity/Provider/Generators/SqlGenerator.cs
===================================================================
--- trunk/MySql.Data.Entity/Provider/Generators/SqlGenerator.cs 2009-03-31 19:39:41 UTC
(rev 1540)
+++ trunk/MySql.Data.Entity/Provider/Generators/SqlGenerator.cs 2009-03-31 23:15:46 UTC
(rev 1541)
@@ -35,7 +35,6 @@
private int parameterCount = 1;
protected Scope scope = new Scope();
protected int propertyLevel;
-// public List<ColumnFragment> BoolOverrides = new
List<ColumnFragment>();
protected Dictionary<EdmMember, SqlFragment> values;
public SqlGenerator()
| Thread |
|---|
| • Connector/NET commit: r1541 - in trunk: . MySql.Data.Entity/Provider/Fragments MySql.Data.Entity/Provider/Generators | rburnett | 1 Apr 2009 |