Open
Description
I'm not sure if this is a problem with Umbraco or ModelsBuilder - I'm guessing it's Umbraco because the property is pretty weird.
The property name in the Umbraco office for a member email is _umb_email
(visible when you hover over the default Email in Umbraco):
For some reason, to get the data for a member you have to use the alias Email
.
But anyway, this property isn't enabled by default on a member so I have to add a property:
namespace Umbraco.Web.PublishedContentModels
{
public partial class Member
{
///<summary>
/// Email
///</summary>
[ImplementPropertyType("Email")]
public string Email
{
get { return this.GetPropertyValue<string>("Email"); }
}
}
}
Is there anything that can be done about this in the ModelsBuilder?