public void ObjectStateUnchangedd_ConvertedToEfStateUnchanged() { var efSate = EfExtensions.ConvertToEFState(ObjectState.UNCHANGED); efSate.Should().Be(EntityState.Unchanged); }
public void ObjectStateModified_ConvertedToEfStateModified() { var efSate = EfExtensions.ConvertToEFState(ObjectState.MODIFIED); efSate.Should().Be(EntityState.Modified); }
public void ObjectStateDeleted_ConvertedToEfStateDelated() { var efSate = EfExtensions.ConvertToEFState(ObjectState.DELETED); efSate.Should().Be(EntityState.Deleted); }
public void ObjectStateNew_ConvertedToEfStateAdded() { var efSate = EfExtensions.ConvertToEFState(ObjectState.NEW); efSate.Should().Be(EntityState.Added); }