UnconventionalPoco.cs 377 B

1234567891011121314151617
  1. using Shouldly;
  2. namespace PetaPoco.Tests.Integration.Documentation.Pocos
  3. {
  4. public class UnconventionalPoco
  5. {
  6. public int PrimaryKey { get; set; }
  7. public string Text { get; set; }
  8. public void ShouldBe(UnconventionalPoco other)
  9. {
  10. PrimaryKey.ShouldBe(other.PrimaryKey);
  11. Text.ShouldBe(other.Text);
  12. }
  13. }
  14. }