private bool FilterCLItblCompanyUsers(CLItblCompanyUser entity) { return (entity.CompanyId == this.CompanyId); }
private void DetachCLItblCompanyUsers(CLItblCompanyUser entity) { entity.CLItblCompany = null; }
/// <summary> /// Create a new CLItblCompanyUser object. /// </summary> /// <param name="companyUserId">Initial value of the CompanyUserId property.</param> /// <param name="companyId">Initial value of the CompanyId property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="employeeTypeId">Initial value of the EmployeeTypeId property.</param> public static CLItblCompanyUser CreateCLItblCompanyUser(global::System.Int32 companyUserId, global::System.Int32 companyId, global::System.Int32 userId, global::System.Int32 employeeTypeId) { CLItblCompanyUser cLItblCompanyUser = new CLItblCompanyUser(); cLItblCompanyUser.CompanyUserId = companyUserId; cLItblCompanyUser.CompanyId = companyId; cLItblCompanyUser.UserId = userId; cLItblCompanyUser.EmployeeTypeId = employeeTypeId; return cLItblCompanyUser; }
private void AttachCLItblCompanyUsers(CLItblCompanyUser entity) { entity.CLItblCompany = this; }
/// <summary> /// Deprecated Method for adding a new object to the CLItblCompanyUsers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCLItblCompanyUsers(CLItblCompanyUser cLItblCompanyUser) { base.AddObject("CLItblCompanyUsers", cLItblCompanyUser); }