/// <summary> /// Deprecated Method for adding a new object to the TblUsersInCompanys EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTblUsersInCompanys(TblUsersInCompany tblUsersInCompany) { base.AddObject("TblUsersInCompanys", tblUsersInCompany); }
/// <summary> /// Create a new TblUsersInCompany object. /// </summary> /// <param name="userCompanyId">Initial value of the UserCompanyId property.</param> public static TblUsersInCompany CreateTblUsersInCompany(global::System.Int32 userCompanyId) { TblUsersInCompany tblUsersInCompany = new TblUsersInCompany(); tblUsersInCompany.UserCompanyId = userCompanyId; return tblUsersInCompany; }