I have created my database model using fluent mapping code only and I am trying to implement CascadeDelete property which is currently not resolving in the backend config in my context class.
public static BackendConfiguration GetBackendConfiguration()
{
BackendConfiguration backend = new BackendConfiguration();
backend.Runtime.AllowCascadeDelete = true;
backend.Backend = "SqlCe";
backend.ProviderName = "Microsoft.SqlServerCe.Client.3.5";
return backend;
}
The error message is:
‘Telerik.OpenAccess.BackendConfiguration.RuntimeConfiguration' does not contain a definition for 'AllowCascadeDelete' and no extension method 'AllowCascadeDelete' accepting a first argument of type 'Telerik.OpenAccess.BackendConfiguration.RuntimeConfiguration' could be found (are you missing a using directive or an assembly reference?
I am referencing the following in my class:using Telerik.OpenAccess;
using Telerik.OpenAccess.Metadata;
using Telerik.OpenAccess.Metadata.Fluent;
and am not sure what else to reference.
thank you
chom