/// <summary> /// Create a new PokemonBase object. /// </summary> /// <param name="pokemonId">Initial value of the PokemonId property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="evoLevel">Initial value of the EvoLevel property.</param> /// <param name="abilityOne">Initial value of the AbilityOne property.</param> /// <param name="abilityTwo">Initial value of the AbilityTwo property.</param> /// <param name="abilityThree">Initial value of the AbilityThree property.</param> /// <param name="maleGenderPercent">Initial value of the MaleGenderPercent property.</param> /// <param name="primaryType">Initial value of the PrimaryType property.</param> /// <param name="subType">Initial value of the SubType property.</param> /// <param name="hPStat">Initial value of the HPStat property.</param> /// <param name="attackStat">Initial value of the AttackStat property.</param> /// <param name="defenseStat">Initial value of the DefenseStat property.</param> /// <param name="spAttackStat">Initial value of the SpAttackStat property.</param> /// <param name="spDefenseStat">Initial value of the SpDefenseStat property.</param> /// <param name="speedStat">Initial value of the SpeedStat property.</param> /// <param name="levelSpeed">Initial value of the LevelSpeed property.</param> /// <param name="baseExp">Initial value of the BaseExp property.</param> /// <param name="baseCatch">Initial value of the BaseCatch property.</param> public static PokemonBase CreatePokemonBase(global::System.Int32 pokemonId, global::System.String name, global::System.Int32 evoLevel, global::System.String abilityOne, global::System.String abilityTwo, global::System.String abilityThree, global::System.Single maleGenderPercent, global::System.String primaryType, global::System.String subType, global::System.Int32 hPStat, global::System.Int32 attackStat, global::System.Int32 defenseStat, global::System.Int32 spAttackStat, global::System.Int32 spDefenseStat, global::System.Int32 speedStat, global::System.Int32 levelSpeed, global::System.Int32 baseExp, global::System.Int32 baseCatch) { PokemonBase pokemonBase = new PokemonBase(); pokemonBase.PokemonId = pokemonId; pokemonBase.Name = name; pokemonBase.EvoLevel = evoLevel; pokemonBase.AbilityOne = abilityOne; pokemonBase.AbilityTwo = abilityTwo; pokemonBase.AbilityThree = abilityThree; pokemonBase.MaleGenderPercent = maleGenderPercent; pokemonBase.PrimaryType = primaryType; pokemonBase.SubType = subType; pokemonBase.HPStat = hPStat; pokemonBase.AttackStat = attackStat; pokemonBase.DefenseStat = defenseStat; pokemonBase.SpAttackStat = spAttackStat; pokemonBase.SpDefenseStat = spDefenseStat; pokemonBase.SpeedStat = speedStat; pokemonBase.LevelSpeed = levelSpeed; pokemonBase.BaseExp = baseExp; pokemonBase.BaseCatch = baseCatch; return pokemonBase; }
/// <summary> /// Deprecated Method for adding a new object to the PokemonBases EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPokemonBases(PokemonBase pokemonBase) { base.AddObject("PokemonBases", pokemonBase); }