The EntitySpaces 1.5.2 Bets is now available for download. Below are the enhancements and fixes added to this release:
- Full support for VistaDb 3.0
- Compact Framework Providers for both Microsoft SQL Server and VistaDb
- Full compliance with the DotNetNuke {objectQualifier} when using dynamic sql or stored procedures.
- EntitySpaces can now be run without a config file. This is intended to help facilitate modular software development, and removes the situation where your end users are required to enter config entries. Below is an example of how to set your default connection programmatically
// Manually register a connection
esConnectionElement conn = new esConnectionElement();
conn.ConnectionString = "User ID=sa;Password=;Initial Catalog=Northwind;Data Source=localhost";
conn.Name = "GroovySQL";
conn.Provider = "EntitySpaces.SqlClientProvider";
conn.ProviderClass = "DataProvider";
conn.SqlAccessType = esSqlAccessType.DynamicSQL;
conn.ProviderMetadataKey = "esDefault";conn.DatabaseVersion = "2005";
// Assign the Default Connection
esConfigSettings.ConnectionInfo.Connections.Add(conn);
esConfigSettings.ConnectionInfo.Default = "GroovySQL";
// Use the code as usual
Employees e = new Employees();
if (e.LoadByPrimaryKey(1))
{
e.Save();
}
int? i = e.EmployeeID;
- Added [XmlIgnore] to hierarchical objects to prevent endless loops with self referencing relationships. This will be further refined again in our 1.6.0 release.
- Added Lock/SyncLock in two places to protect static data
This is a full beta and all providers are included.
- This beta requires the new MyGeneration beta available on the MyGeneration homepage.
- The EntitySpaces beta can be found in the trial forum HERE