/// <summary> /// Create a new tblAddressHist object. /// </summary> /// <param name="idAddressHist">Initial value of the idAddressHist property.</param> /// <param name="idAddress">Initial value of the idAddress property.</param> /// <param name="city">Initial value of the City property.</param> /// <param name="state">Initial value of the State property.</param> /// <param name="dateCreated">Initial value of the dateCreated property.</param> /// <param name="dateModified">Initial value of the dateModified property.</param> /// <param name="createdByLogin">Initial value of the CreatedByLogin property.</param> /// <param name="modifiedByLogin">Initial value of the ModifiedByLogin property.</param> public static tblAddressHist CreatetblAddressHist(global::System.Int32 idAddressHist, global::System.Int32 idAddress, global::System.String city, global::System.String state, global::System.DateTime dateCreated, global::System.DateTime dateModified, global::System.String createdByLogin, global::System.String modifiedByLogin) { tblAddressHist tblAddressHist = new tblAddressHist(); tblAddressHist.idAddressHist = idAddressHist; tblAddressHist.idAddress = idAddress; tblAddressHist.City = city; tblAddressHist.State = state; tblAddressHist.dateCreated = dateCreated; tblAddressHist.dateModified = dateModified; tblAddressHist.CreatedByLogin = createdByLogin; tblAddressHist.ModifiedByLogin = modifiedByLogin; return tblAddressHist; }
/// <summary> /// Deprecated Method for adding a new object to the tblAddressHists EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblAddressHists(tblAddressHist tblAddressHist) { base.AddObject("tblAddressHists", tblAddressHist); }