【问题标题】:What is equivalent display Annotation in fluent Api?fluent Api中的等效显示注释是什么?
【发布时间】:2015-07-05 10:30:33
【问题描述】:

fluent API 中的等效代码是什么?

[Display(Name = "توضیحات")]
public string Description { get; set; }

【问题讨论】:

    标签: c# entity-framework poco


    【解决方案1】:

    实体框架不使用DisplayAttribute,因此没有等效项。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-06-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-08-12
      相关资源
      最近更新 更多