/// <summary> /// Gets entities where Version matches the given specification. /// </summary> /// <remarks> /// Created for column <c>Version</c> /// </remarks> public static ConfigItemCollection GetByVersion(int version, BootFX.Common.Data.SqlOperator versionOperator, BootFX.Common.OnNotFound onNotFound) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(ConfigItem)); filter.Constraints.Add("Version", versionOperator, version); ConfigItemCollection results = ((ConfigItemCollection)(filter.ExecuteEntityCollection())); return(results); }
/// <summary> /// Gets entities where Name matches the given specification. /// </summary> /// <remarks> /// Created for column <c>Name</c> /// </remarks> public static ConfigItemCollection GetByName(string name, BootFX.Common.Data.SqlOperator nameOperator, BootFX.Common.OnNotFound onNotFound) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(ConfigItem)); filter.Constraints.Add("Name", nameOperator, name); ConfigItemCollection results = ((ConfigItemCollection)(filter.ExecuteEntityCollection())); return(results); }
/// <summary> /// Gets entities where Data matches the given specification. /// </summary> /// <remarks> /// Created for column <c>Data</c> /// </remarks> public static ConfigItemCollection GetByData(string data, BootFX.Common.Data.SqlOperator dataOperator, BootFX.Common.OnNotFound onNotFound) { BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(ConfigItem)); filter.Constraints.Add("Data", dataOperator, data); ConfigItemCollection results = ((ConfigItemCollection)(filter.ExecuteEntityCollection())); return(results); }
/// <summary> /// Adds a range of <see cref="ConfigItem"/> instances to the collection. /// </summary> public void AddRange(ConfigItemCollection items) { base.AddRange(items); }