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