Esempio n. 1
0
        /// <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);
        }
Esempio n. 2
0
        /// <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);
        }
Esempio n. 3
0
 /// <summary>
 /// Gets the <see cref="LookupValue"/> entity with the given ID.
 /// </summary>
 /// <bootfx>
 /// CreateEntityFilterEqualToMethod - LookupValue
 /// </bootfx>
 public static LookupValue GetById(int lookupId, BootFX.Common.OnNotFound onNotFound)
 {
     return(BootFX.Common.Data.LookupValue.GetById(lookupId, BootFX.Common.Data.SqlOperator.EqualTo, onNotFound));
 }
Esempio n. 4
0
        /// <summary>
        /// Gets the <see cref="LookupValue"/> entity where the ID matches the given specification.
        /// </summary>
        public static LookupValue GetById(int lookupId, BootFX.Common.Data.SqlOperator lookupIdOperator, BootFX.Common.OnNotFound onNotFound)
        {
            BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(LookupValue));
            filter.Constraints.Add("LookupId", lookupIdOperator, lookupId);
            LookupValue results = ((LookupValue)(filter.ExecuteEntity()));

            return(results);
        }
Esempio n. 5
0
        /// <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);
        }
Esempio n. 6
0
        /// <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);
        }
Esempio n. 7
0
        /// <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);
        }
Esempio n. 8
0
        /// <summary>
        /// Gets the <see cref="ConfigItem"/> entity where the ID matches the given specification.
        /// </summary>
        public static ConfigItem GetById(int configId, BootFX.Common.Data.SqlOperator configIdOperator, BootFX.Common.OnNotFound onNotFound)
        {
            BootFX.Common.Data.SqlFilter filter = new BootFX.Common.Data.SqlFilter(typeof(ConfigItem));
            filter.Constraints.Add("ConfigId", configIdOperator, configId);
            ConfigItem results = ((ConfigItem)(filter.ExecuteEntity()));

            return(results);
        }
Esempio n. 9
0
 /// <summary>
 /// Gets the <see cref="ConfigItem"/> entity with the given ID.
 /// </summary>
 /// <bootfx>
 /// CreateEntityFilterEqualToMethod - ConfigItem
 /// </bootfx>
 public static ConfigItem GetById(int configId, BootFX.Common.OnNotFound onNotFound)
 {
     return(BootFX.Common.ConfigItem.GetById(configId, BootFX.Common.Data.SqlOperator.EqualTo, onNotFound));
 }