I'm trying to plug BreezeJs into an existing datastructure and getting an error in the meta data fetch. I can replicate this by adding the following to the CarBones sample
namespace CarBones.Models
{
public abstract class VanBase
{
public int Id { get; set; }
public string Manufacturer { get; set; }
public int Wheels { get; set; }
}
public class BasicVan : VanBase
{
}
public class LiveriedVan : VanBase
{
public string Livery { get; set; }
}
}
then in the context
public DbSet<VanBase> Vans { get; set; }
This is enough to trigger
Uncaught TypeError: Cannot read property 'propertyRef' of undefined breeze.debug.js 5224
Can I not use TPH in this way with Breeze? Yet?