Example #1
0
        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();
        }
Example #2
0
 public PlayerRole(Player player, GameRole role)
 {
     Player = player;
     Role   = role;
 }
Example #3
0
 partial void UpdateGameRole(GameRole instance);
Example #4
0
 partial void DeleteGameRole(GameRole instance);
Example #5
0
 partial void InsertGameRole(GameRole instance);