コード例 #1
0
 private static void AssertHasOneToOneWithReverseRelationship(PropertyWrapper propertyInfo, string expectedRevRelName)
 {
     Assert.IsTrue(propertyInfo.HasAutoMapOneToOneAttribute(expectedRevRelName), string.Format("Should have AutoMapOneToOne with ReverseRelationship '{0}'", expectedRevRelName));
 }
コード例 #2
0
 public static void AssertHasOneToOneWithReverseRelationship(this PropertyWrapper propWrapper, string expectedRevRelName)
 {
     Assert.IsTrue(propWrapper.HasAutoMapOneToOneAttribute(expectedRevRelName), string.Format("Should have AutoMapOneToOne with ReverseRelationship '{0}'", expectedRevRelName));
 }