public Weapons_roles[] GetAll()
          {
              var values = (CompiledTypes.Weapons_roles.RowValues[])Enum.GetValues(typeof(CompiledTypes.Weapons_roles.RowValues));

              Weapons_roles[] returnList = new Weapons_roles[values.Length];
              for (int i = 0; i < values.Length; i++)
              {
                  returnList[i] = Get(values[i]);
              }
              return(returnList);
          }
 public WeaponRoles(CastleDBParser.RootNode root, SimpleJSON.JSONNode node)
 {
     Weaponrole = new CompiledTypes.Weapons_roles(root, CompiledTypes.Weapons_roles.GetRowValue(node["Weaponrole"]));
 }