表格相关逻辑修改和组件定义

This commit is contained in:
2025-08-25 00:10:04 +08:00
parent 5ca8118694
commit e41fd7dd2d
136 changed files with 962 additions and 981 deletions

View File

@@ -0,0 +1,65 @@
/**本脚本为自动生成,每次生成会覆盖!请勿手动修改**/
using System;
using System.Collections.Generic;
namespace NBF
{
[Serializable]
public partial class FeederConfig
{
private static ConfigContext<FeederConfig> _context;
private static ConfigContext<FeederConfig> Context => _context ??= Configs.Table<FeederConfig>();
public static FeederConfig Get(int key)
{
return Context.Get(key);
}
public static FeederConfig Get(Predicate<FeederConfig> match)
{
return Context.Get(match);
}
public static FeederConfig Fist()
{
return Context.Fist();
}
public static FeederConfig Last()
{
return Context.Last();
}
public static FeederConfig Fist(Predicate<FeederConfig> match)
{
return Context.Fist(match);
}
public static FeederConfig Last(Predicate<FeederConfig> match)
{
return Context.Last(match);
}
public static int Count()
{
return Context.Count();
}
public static int Count(Func<FeederConfig, bool> predicate)
{
return Context.Count(predicate);
}
public static List<FeederConfig> GetList()
{
return Context.GetList();
}
public static List<FeederConfig> GetList(Predicate<FeederConfig> match)
{
return Context.GetList(match);
}
}
}