/// <summary> /// Deprecated Method for adding a new object to the Powers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPowers(Power power) { base.AddObject("Powers", power); }
/// <summary> /// Create a new Power object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="kind">Initial value of the Kind property.</param> /// <param name="exhausted">Initial value of the Exhausted property.</param> /// <param name="power_Creature">Initial value of the Power_Creature property.</param> public static Power CreatePower(global::System.Int32 id, global::System.String name, global::System.Int32 kind, global::System.Boolean exhausted, global::System.Int32 power_Creature) { Power power = new Power(); power.Id = id; power.Name = name; power.Kind = kind; power.Exhausted = exhausted; power.Power_Creature = power_Creature; return power; }