/// <summary> /// Deprecated Method for adding a new object to the Effects EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEffects(Effect effect) { base.AddObject("Effects", effect); }
/// <summary> /// Create a new Effect object. /// </summary> /// <param name="effectId">Initial value of the EffectId property.</param> /// <param name="effectTypeId">Initial value of the EffectTypeId property.</param> /// <param name="effectName">Initial value of the EffectName property.</param> public static Effect CreateEffect(global::System.Int32 effectId, global::System.Int32 effectTypeId, global::System.String effectName) { Effect effect = new Effect(); effect.EffectId = effectId; effect.EffectTypeId = effectTypeId; effect.EffectName = effectName; return effect; }