var property = condition.GetType().GetProperty("PropertyName");
property.SetValue(condition, "value", null);
var property = condition.GetType().GetProperty("PropertyName");
property.SetValue(condition, "value", null);
转载于:https://www.cnblogs.com/lhlong/p/9855559.html