/// <summary> /// Create a new tblMLSCompany object. /// </summary> /// <param name="idMLSCompany">Initial value of the idMLSCompany property.</param> /// <param name="mLSCompanyName">Initial value of the MLSCompanyName property.</param> /// <param name="dataCreated">Initial value of the dataCreated 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 tblMLSCompany CreatetblMLSCompany(global::System.Int32 idMLSCompany, global::System.String mLSCompanyName, global::System.DateTime dataCreated, global::System.DateTime dateModified, global::System.String createdByLogin, global::System.String modifiedByLogin) { tblMLSCompany tblMLSCompany = new tblMLSCompany(); tblMLSCompany.idMLSCompany = idMLSCompany; tblMLSCompany.MLSCompanyName = mLSCompanyName; tblMLSCompany.dataCreated = dataCreated; tblMLSCompany.dateModified = dateModified; tblMLSCompany.CreatedByLogin = createdByLogin; tblMLSCompany.ModifiedByLogin = modifiedByLogin; return tblMLSCompany; }
/// <summary> /// Deprecated Method for adding a new object to the tblMLSCompanies EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblMLSCompanies(tblMLSCompany tblMLSCompany) { base.AddObject("tblMLSCompanies", tblMLSCompany); }