Data Access Q1 2014

Feb 25, 2014

Telerik Data Access Q1 2014 (2014.1.225.2)

NEW
  • Bulk Select based on a list of keys - The new GetObjectsByKeys method can retrieve multiple objects of the same type with a single batch, using the identity of the type as a key.
  • Support for VistaDB 5.0 - Telerik Data Access supports VistaDB 5.0 now. If the VistaDB driver is not registered in the provider factories, Telerik Data Access will fallback to the 5.0 versions of VistaDB. If the application is running in a 4.0 .NET VM, the VistaDB.5.NET40.dll is used if not the VistaDB.5.NET20.dll.
  • Extended code generation for customizing backend configuration - Code generation is now extended with a partial method named CustomizeBackendConfiguration added in the generated context. Its purpose is provide users a direct way to apply customizations on the context backend configuration by implementing this method in a partial class.
  • Support for constraints from table to views in Oracle - Oracle constraints referring to views are now visible in the Telerik Data Access Visual Designer.
FIXED
  • Add Service Wizard: Using the latest NuGet Package Manager 2.8 - The Add Service Wizard now uses the latest NuGet Package Manaer in Visual Studio to retrieve the NuGets required by the service. Due to a bracking change in the Package Manager, that means that versions older than 2.8 are not supported anymore.
  • LINQ: Joining on already joined extents with a joined right side could fail with conditional expressions. - When a LINQ expression has the following principal form:
    var q3 = ctx.E.Where(condition);
    var q2 = ctx.D.Join(q3, (d => d.Id), (c => c.ID), (d,c) => projection2);
    var q1 = ctx.B.Join(ctx.A, (b => b.Id), (a => a.ID), (b,a) => projection1);
    var q = q1.Join(q2, (i => i.Id), (j => j.col.HasValue ? j.col.Value : 0), (i,j) => projection);
    the processing used to fail with a 'Unable to create a join expression from right-side node ... Try moving any conditions into the filter.'.
  • Runtime: Artificial type queries not handled correctly by L2 and query compilation cache - When querying on artificial types, query results were not handled properly in the L2 cache. Also, query compilation cache was not handling correctly such entries.
  • Runtime: Attach of instance fails when the corresponding entity instance is already populated in the target context and collection/map fields are handled - When an instance is getting attached, and collection/map fields need to be handled, an NotImplementedException can occur in cases where the target context contains the instance in a loaded state. The workaround was to use a new context for attaching.
  • Runtime: Attaching a deserialized entity instance with a Many-to-Many association could cause data loss - In case the attached instance has been deserialized, and refers to another persisent entity in a M:M association, data loss could occur due to the related entities not being found after deserialization. This behavior is now fixed.
  • Runtime: When DataTable batching is enabled and logging is not active, exceptions thrown from the database server cause an NullReferenceException from the logging - A NullReferenceException in the batching logic could potentially hide other exceptions thrown by the database server.
  • Visual Studio Integration: Powershell Tools problems when installed side-by-side with Telerik Data Access add-in - There was a compatibility issue between Telerik Data Access and PowerShell Tools Visual Studio extension, which is now resolved.
CHANGED
  • Add Service Wizard: Using the latest NuGet Package Manager 2.8 - The Add Service Wizard now uses the latest NuGet Package Manaer in Visual Studio to retrieve the NuGets required by the service. Due to a bracking change in the Package Manager, that means that versions older than 2.8 are not supported anymore.
Have a feature request?

Post your feedback via the Data Access feedback portal or the public forums

What's new across all Telerik products?

See the updates feed

Next Steps

Download for free

Get your fully functional free copy of Data Access.

Get Data Access Sample Kit

Including demos and articles to get you started.

Suggest new features

Help us shape our roadmap.