【发布时间】:2014-10-28 21:37:40
【问题描述】:
我想在微风数据服务(客户端)中获取下面提到的自定义属性。
namespace Tam.Framework.Web.Models
{
[ViewAttribute("app/views/Employee.html")]//this custom class attribute
public class Employee : BaseEntity
{
protected override string OnGetDescriptor()
{
return "some description";
}
public string FirstName { get; set; }
[Display(Name = "LAST NAME")]//this custom property attribute
public string LastName { get; set; }
}
}
【问题讨论】:
标签: entity-framework attributes breeze