/// <summary> /// Deprecated Method for adding a new object to the tblAddress EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblAddress(tblAddress tblAddress) { base.AddObject("tblAddress", tblAddress); }
/// <summary> /// Create a new tblAddress object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="address">Initial value of the Address property.</param> /// <param name="city">Initial value of the City property.</param> /// <param name="addressTitle">Initial value of the AddressTitle property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> public static tblAddress CreatetblAddress(global::System.Int32 id, global::System.String address, global::System.String city, global::System.String addressTitle, global::System.Guid createdBy) { tblAddress tblAddress = new tblAddress(); tblAddress.Id = id; tblAddress.Address = address; tblAddress.City = city; tblAddress.AddressTitle = addressTitle; tblAddress.CreatedBy = createdBy; return tblAddress; }