示例#1
0
 public void CheckIfEntityHaveOnlyOnePrivateOrProtectedOrInternalProtectedConstructor() =>
 Assert.True(EntityTestHelper.CheckIfEntityHaveOnlyOnePrivateOrProtectedOrInternalProtectedConstructor <CorrectEntitySample>());
示例#2
0
 public void InternalConstructorNotAllowedForEntities() =>
 Assert.True(EntityTestHelper.CheckIfEntityHaveOnlyOnePrivateOrProtectedOrInternalProtectedConstructor <InternalConstructorEntitySample>());