/// <summary> /// Deprecated Method for adding a new object to the TerritorySalesDrilldown EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTerritorySalesDrilldown(vTerritorySalesDrilldown vTerritorySalesDrilldown) { base.AddObject("TerritorySalesDrilldown", vTerritorySalesDrilldown); }
/// <summary> /// Create a new vTerritorySalesDrilldown object. /// </summary> /// <param name="territoryName">Initial value of the TerritoryName property.</param> /// <param name="salesPersonID">Initial value of the SalesPersonID property.</param> /// <param name="employeeFirstName">Initial value of the EmployeeFirstName property.</param> /// <param name="employeeLastName">Initial value of the EmployeeLastName property.</param> /// <param name="salesOrderNumber">Initial value of the SalesOrderNumber property.</param> /// <param name="total">Initial value of the Total property.</param> /// <param name="id">Initial value of the ID property.</param> public static vTerritorySalesDrilldown CreatevTerritorySalesDrilldown(global::System.String territoryName, global::System.Int32 salesPersonID, global::System.String employeeFirstName, global::System.String employeeLastName, global::System.String salesOrderNumber, global::System.Decimal total, global::System.Int64 id) { vTerritorySalesDrilldown vTerritorySalesDrilldown = new vTerritorySalesDrilldown(); vTerritorySalesDrilldown.TerritoryName = territoryName; vTerritorySalesDrilldown.SalesPersonID = salesPersonID; vTerritorySalesDrilldown.EmployeeFirstName = employeeFirstName; vTerritorySalesDrilldown.EmployeeLastName = employeeLastName; vTerritorySalesDrilldown.SalesOrderNumber = salesOrderNumber; vTerritorySalesDrilldown.Total = total; vTerritorySalesDrilldown.ID = id; return vTerritorySalesDrilldown; }