Click or drag to resize

RecroDictDataAnnotationsProvider Class

A provider segítségével a modelben RecroDict-ből származó stringek is megadhatóak.
Inheritance Hierarchy
SystemObject
  ModelMetadataProvider
    AssociatedMetadataProvider
      DataAnnotationsModelMetadataProvider
        Recrovit.RecroGridFrameworkRecroDictDataAnnotationsProvider

Namespace:  Recrovit.RecroGridFramework
Assembly:  Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 1.7.3
Syntax
C#
public class DataAnnotationsProvider : DataAnnotationsModelMetadataProvider

The RecroDictDataAnnotationsProvider type exposes the following members.

Constructors
  NameDescription
Public methodRecroDictDataAnnotationsProvider
Initializes a new instance of the RecroDictDataAnnotationsProvider class
Top
Methods
Remarks
Examples
Az Application_Start-ba kell berakni az inicializálást.
ModelMetadataProviders.Current = new RecroDict.DataAnnotationsProvider();
Hivatkozás a modelben:
[Required(ErrorMessage = "RecroDict:Scope.StringId")]
See Also