/// <summary> /// Create a new GeneratedPokemon object. /// </summary> /// <param name="generatedPokemonId">Initial value of the GeneratedPokemonId property.</param> /// <param name="lvl">Initial value of the Lvl property.</param> /// <param name="genAttackStat">Initial value of the GenAttackStat property.</param> /// <param name="genDefenseStat">Initial value of the GenDefenseStat property.</param> /// <param name="genSpAttackStat">Initial value of the GenSpAttackStat property.</param> /// <param name="genSpDefenseStat">Initial value of the GenSpDefenseStat property.</param> /// <param name="genSpeedStat">Initial value of the GenSpeedStat property.</param> /// <param name="natureOne">Initial value of the NatureOne property.</param> /// <param name="natureTwo">Initial value of the NatureTwo property.</param> /// <param name="shined">Initial value of the Shined property.</param> /// <param name="ability">Initial value of the Ability property.</param> /// <param name="currentExp">Initial value of the CurrentExp property.</param> public static GeneratedPokemon CreateGeneratedPokemon(global::System.Int32 generatedPokemonId, global::System.Int32 lvl, global::System.Int32 genAttackStat, global::System.Int32 genDefenseStat, global::System.Int32 genSpAttackStat, global::System.Int32 genSpDefenseStat, global::System.Int32 genSpeedStat, global::System.String natureOne, global::System.String natureTwo, global::System.Boolean shined, global::System.String ability, global::System.Int32 currentExp) { GeneratedPokemon generatedPokemon = new GeneratedPokemon(); generatedPokemon.GeneratedPokemonId = generatedPokemonId; generatedPokemon.Lvl = lvl; generatedPokemon.GenAttackStat = genAttackStat; generatedPokemon.GenDefenseStat = genDefenseStat; generatedPokemon.GenSpAttackStat = genSpAttackStat; generatedPokemon.GenSpDefenseStat = genSpDefenseStat; generatedPokemon.GenSpeedStat = genSpeedStat; generatedPokemon.NatureOne = natureOne; generatedPokemon.NatureTwo = natureTwo; generatedPokemon.Shined = shined; generatedPokemon.Ability = ability; generatedPokemon.CurrentExp = currentExp; return generatedPokemon; }
public ViewResult GeneratePokemon() { GeneratedPokemon generatedPokemon = new GeneratedPokemon(); return View(generatedPokemon); }
/// <summary> /// Deprecated Method for adding a new object to the GeneratedPokemons EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGeneratedPokemons(GeneratedPokemon generatedPokemon) { base.AddObject("GeneratedPokemons", generatedPokemon); }
public void CreatePokemon(GeneratedPokemon generatedPokemon) { var i = 0; ++i; }