/// <summary>
 /// Deprecated Method for adding a new object to the Residentials EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToResidentials(Residential residential)
 {
     base.AddObject("Residentials", residential);
 }
 /// <summary>
 /// Create a new Residential object.
 /// </summary>
 /// <param name="residentialId">Initial value of the ResidentialId property.</param>
 /// <param name="residentialType">Initial value of the ResidentialType property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static Residential CreateResidential(global::System.Int32 residentialId, global::System.Byte residentialType, global::System.String name)
 {
     Residential residential = new Residential();
     residential.ResidentialId = residentialId;
     residential.ResidentialType = residentialType;
     residential.Name = name;
     return residential;
 }