FooWithDefaults.cs 778 B

1234567891011121314151617181920212223242526272829303132333435
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace MonoTests.Common
  6. {
  7. class FooWithDefaults
  8. {
  9. public string Column1 { get; set; }
  10. public int Column2 { get; set; }
  11. public string PrimaryKeyColumn1 { get; set; }
  12. public int PrimaryKeyColumn2 { get; set; }
  13. public bool PrimaryKeyColumn3 { get; set; }
  14. public string ForeignKeyColumn1 { get; set; }
  15. public int ForeignKeyColumn2 { get; set; }
  16. public bool ForeignKeyColumn3 { get; set; }
  17. public FooWithDefaults ()
  18. {
  19. Column1 = "hello";
  20. Column2 = 123;
  21. PrimaryKeyColumn1 = "primary key value";
  22. PrimaryKeyColumn2 = 456;
  23. PrimaryKeyColumn3 = true;
  24. ForeignKeyColumn1 = "foreign key";
  25. ForeignKeyColumn2 = 789;
  26. ForeignKeyColumn3 = true;
  27. }
  28. }
  29. }