/// <summary>
 /// 用于向 tblPremise EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddTotblPremise(tblPremise tblPremise)
 {
     base.AddObject("tblPremise", tblPremise);
 }
 /// <summary>
 /// 创建新的 tblPremise 对象。
 /// </summary>
 /// <param name="premiseID">PremiseID 属性的初始值。</param>
 /// <param name="city">City 属性的初始值。</param>
 /// <param name="houseSize">HouseSize 属性的初始值。</param>
 /// <param name="units">Units 属性的初始值。</param>
 /// <param name="occupants">Occupants 属性的初始值。</param>
 public static tblPremise CreatetblPremise(global::System.String premiseID, global::System.String city, global::System.Int64 houseSize, global::System.Double units, global::System.Double occupants)
 {
     tblPremise tblPremise = new tblPremise();
     tblPremise.PremiseID = premiseID;
     tblPremise.City = city;
     tblPremise.HouseSize = houseSize;
     tblPremise.Units = units;
     tblPremise.Occupants = occupants;
     return tblPremise;
 }