ActionCLAS.cs 792 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace CD67.FicheCollege.Entity
  8. {
  9. /// <summary>
  10. /// Classe d'extension de celle d'Entity, nécessaire pour y associer les Metadata
  11. /// </summary>
  12. [MetadataType(typeof(ActionCLAS_Metadata))]
  13. public partial class ActionCLAS
  14. {
  15. public int Id { get { return College_Id; } }
  16. }
  17. /// <summary>
  18. /// Classe contenant les DataAnnotations pour chaque champ
  19. /// </summary>
  20. public class ActionCLAS_Metadata
  21. {
  22. //[UIHint("YesNoBool")]
  23. public bool? Action { get; set; }
  24. [DataType(DataType.MultilineText)]
  25. public string Commentaire { get; set; }
  26. }
  27. }