/// <summary> /// Gets entities where Description matches the given specification. /// </summary> /// <remarks> /// Created for column <c>Description</c> /// </remarks> public static LookupValueCollection GetByDescription(string description, BootFX.Common.Data.SqlOperator descriptionOperator, BootFX.Common.OnNotFound onNotFound) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(LookupValue)); filter.Constraints.Add("Description", descriptionOperator, description); LookupValueCollection results = ((LookupValueCollection)(filter.ExecuteEntityCollection())); return(results); }
/// <summary> /// Gets entities where Value matches the given specification. /// </summary> /// <remarks> /// Created for column <c>Value</c> /// </remarks> public static LookupValueCollection GetByValue(int value, BootFX.Common.Data.SqlOperator valueOperator, BootFX.Common.OnNotFound onNotFound) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(LookupValue)); filter.Constraints.Add("Value", valueOperator, value); LookupValueCollection results = ((LookupValueCollection)(filter.ExecuteEntityCollection())); return(results); }
/// <summary> /// Adds a range of <see cref="LookupValue"/> instances to the collection. /// </summary> public void AddRange(LookupValueCollection items) { base.AddRange(items); }