Sitefinity OpenAccess Fail. Can't recognized MapType() or HasProperty()
Hi,
I am trying to create a new table in the Sitefinity Database and trying to use the OpenAccess Fluent API for it, but it doesn't let me. I am following the example exactly the way it's prescribed in OpenAccess Documentation but it still doesn't work.
What am i doing wrong?
using System.Web;
using System.Linq;
using System.Collections.Generic;
using Telerik.OpenAccess;
using Telerik.OpenAccess.Metadata.Fluent;
namespace SitefinityWebApp.Membership
public class SdnUserProfile
public int Id
get;
set;
public string DateofBirth
get;
set;
public bool CountryofCitizenShip
get;
set;
public class MyFluentMetadataSource : FluentMetadataSource
protected override IList<
MappingConfiguration
> PrepareMapping()
IList<
MappingConfiguration
> preparedConfigurations = new List<
MappingConfiguration
>();
MappingConfiguration<
SdnUserProfile
> profileConfiguration = new MappingConfiguration<
SdnUserProfile
>();
profileConfiguration.MapType().ToTable("SdnUserProfile");
profileConfiguration.HasProperty(
return preparedConfigurations;
Hello Preetham,
The problem is that we use custom build of OA - 2010.2.1013.8. The fluent API you use was introduced with Q3 where OA team officially announced the Fluent API. Most probably we will upgrade the OA assemblies after the official release in our weekly builds.
We also use the "old way" for mapping - Forward Mapping and actually you cannot use Default Mapping with Inheritance until we upgrade the referenced assembly in our code base and switch to the "new way" for mapping. This a task with higher priority for us and it we just need some time to convert all base logic.
Regards,
Ivan Dimitrov
the Telerik team