FooDisplayName.cs 631 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Linq;
  5. using System.Text;
  6. namespace MonoTests.Common
  7. {
  8. [DisplayName ("My name is FooDisplayName, and I am friendly")]
  9. class FooDisplayName
  10. {
  11. public string Column1 { get; set; }
  12. public int Column2 { get; set; }
  13. public string PrimaryKeyColumn1 { get; set; }
  14. public int PrimaryKeyColumn2 { get; set; }
  15. public bool PrimaryKeyColumn3 { get; set; }
  16. public FooDisplayName ()
  17. {
  18. Column1 = "hello";
  19. Column2 = 123;
  20. PrimaryKeyColumn1 = "primary key value";
  21. PrimaryKeyColumn2 = 456;
  22. PrimaryKeyColumn3 = true;
  23. }
  24. }
  25. }