public static void ForceId(this RootEntity entity, Guid id) { PrivateAccess.SetPrivate(entity, "Id", id); }
public static void SetPrivate <T>(this RootEntity entity, string propertyName, object value) { PrivateAccess.SetPrivate(entity, propertyName, value); }