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