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