You need to add a new property to the class that Radzen has generated. Add a new partial class with the same name and namespace and the extra property:
- Create a new file in the server\Models directory e.g. Product.Partial.cs
- Create a partial class with the same namespace as your original one
using System.ComponentModel.DataAnnotations.Schema;
namespace YourAppName.Models.DataSourceName
{
public partial class Product
{
[NotMapped] // Instruct Entity Framework not to persist this property in the database
public int NumericValue { get; set; }
}
}