/// <summary> /// Deprecated Method for adding a new object to the DimEmployees EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDimEmployees(DimEmployee dimEmployee) { base.AddObject("DimEmployees", dimEmployee); }
/// <summary> /// Create a new DimEmployee object. /// </summary> /// <param name="employeeKey">Initial value of the EmployeeKey property.</param> /// <param name="firstName">Initial value of the FirstName property.</param> /// <param name="lastName">Initial value of the LastName property.</param> /// <param name="nameStyle">Initial value of the NameStyle property.</param> /// <param name="currentFlag">Initial value of the CurrentFlag property.</param> /// <param name="salesPersonFlag">Initial value of the SalesPersonFlag property.</param> public static DimEmployee CreateDimEmployee(global::System.Int32 employeeKey, global::System.String firstName, global::System.String lastName, global::System.Boolean nameStyle, global::System.Boolean currentFlag, global::System.Boolean salesPersonFlag) { DimEmployee dimEmployee = new DimEmployee(); dimEmployee.EmployeeKey = employeeKey; dimEmployee.FirstName = firstName; dimEmployee.LastName = lastName; dimEmployee.NameStyle = nameStyle; dimEmployee.CurrentFlag = currentFlag; dimEmployee.SalesPersonFlag = salesPersonFlag; return dimEmployee; }