Beispiel #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Effects EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEffects(Effect effect)
 {
     base.AddObject("Effects", effect);
 }
Beispiel #2
0
 /// <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;
 }