IsLoaded() public méthode

public IsLoaded ( ) : bool
Résultat bool
Exemple #1
0
 public void PullingSingle_Should_Set_New_Product_IsLoaded_True() {
     var product = new Product();
     product = Product.SingleOrDefault(x => x.ProductID == 1);
     Assert.Equal(true, product.IsLoaded());
 }
Exemple #2
0
 public void CreatingNew_Product_Should_Set_IsLoaded_False() {
     var product = new Product();
     Assert.Equal(false, product.IsLoaded());
 }