/// <summary> /// Deprecated Method for adding a new object to the EffectTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEffectTypes(EffectType effectType) { base.AddObject("EffectTypes", effectType); }
/// <summary> /// Create a new EffectType object. /// </summary> /// <param name="effectTypeId">Initial value of the EffectTypeId property.</param> /// <param name="effectGroupId">Initial value of the EffectGroupId property.</param> /// <param name="effectTypeName">Initial value of the EffectTypeName property.</param> public static EffectType CreateEffectType(global::System.Int32 effectTypeId, global::System.Int32 effectGroupId, global::System.String effectTypeName) { EffectType effectType = new EffectType(); effectType.EffectTypeId = effectTypeId; effectType.EffectGroupId = effectGroupId; effectType.EffectTypeName = effectTypeName; return effectType; }