/// <summary>
 /// Deprecated Method for adding a new object to the Damages EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDamages(Damage damage)
 {
     base.AddObject("Damages", damage);
 }
 /// <summary>
 /// Create a new Damage object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="revisionId">Initial value of the RevisionId property.</param>
 /// <param name="class">Initial value of the Class property.</param>
 /// <param name="rate">Initial value of the Rate property.</param>
 public static Damage CreateDamage(global::System.Int64 id, global::System.Int64 revisionId, global::System.Int32 @class, global::System.Byte rate)
 {
     Damage damage = new Damage();
     damage.Id = id;
     damage.RevisionId = revisionId;
     damage.Class = @class;
     damage.Rate = rate;
     return damage;
 }