static QueryRestrictions() { AvalonDBDataContext dbcontext = AvalonDbDataContextProvider.DbContextInstance; DefaultMinDateTime = dbcontext.Games.Select(x => x.GameTime).Min(); DefaultMaxDateTime = dbcontext.Games.Select(x => x.GameTime).Max(); DefaultGroupSize = null; DefaultContainedPlayer = null; DefaultContainedRole = null; ResetMinDateTime(); ResetMaxDateTime(); ResetGroupSize(); ResetContainedPlayer(); ResetContainedRole(); }
public PlayerRole(Player player, GameRole role) { Player = player; Role = role; }
partial void UpdateGameRole(GameRole instance);
partial void DeleteGameRole(GameRole instance);
partial void InsertGameRole(GameRole instance);