FooSettableDefaults.cs 663 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace MonoTests.Common
  6. {
  7. class FooSettableDefaults
  8. {
  9. public string Column1 { get; set; }
  10. public int Column2 { get; set; }
  11. public string PrimaryKeyColumn1 { get; set; }
  12. public string PrimaryKeyColumn2 { get; set; }
  13. public string PrimaryKeyColumn3 { get; set; }
  14. public FooSettableDefaults ()
  15. : this ("primary one", "primary two", "primary three")
  16. {
  17. }
  18. public FooSettableDefaults (string p1, string p2, string p3)
  19. {
  20. Column1 = "hello";
  21. Column2 = 123;
  22. PrimaryKeyColumn1 = p1;
  23. PrimaryKeyColumn2 = p2;
  24. PrimaryKeyColumn3 = p3;
  25. }
  26. }
  27. }