Inheritance: System.Data.Objects.DataClasses.EntityObject
 /// <summary>
 /// Create a new Charity object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static Charity CreateCharity(global::System.Int32 id, global::System.String name)
 {
     Charity charity = new Charity();
     charity.Id = id;
     charity.Name = name;
     return charity;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Charities EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCharities(Charity charity)
 {
     base.AddObject("Charities", charity);
 }