public void Property(string name, string value, JRContext context) { try { Properties.Single(p => p.Name == name).Value = value; } catch { JRUserProperty property = new JRUserProperty(); property.Value = value; property.Name = name; property.Owner = this; context.UserProperties.Add(property); } }
public void Property(string name, double i, JRContext context) { Property(name, i.ToString(), context); }
public void Property(string name, DateTime date, JRContext context) { Property(name, date.ToString(), context); }