public static IProductVariant MockSavedWithKey(this IProductVariant entity, Guid key) { ((Entity)entity).UpdatingEntity(); entity.Key = key; entity.ResetDirtyProperties(); return(entity); }
public override void ResetDirtyProperties() { base.ResetDirtyProperties(); _variant.ResetDirtyProperties(); }