예제 #1
0
 public void Id_IsPersistent()
 {
     SpecifyOn.Entity <Question>().ShouldHaveProperty("Id").ShouldBePersistent().MappedAsIdentifier();
 }
예제 #2
0
 public void TextQuestion_IsPersistent()
 {
     SpecifyOn.Entity <Question>().ShouldHaveProperty("TextQuestion").ShouldBePersistent().MappedToColumn(
         "TEXT_QUESTION");
 }
예제 #3
0
 public void Question_IsPersistent()
 {
     SpecifyOn.Entity <Question>().ShouldBePersistent().MappedToTable("Questions");
 }