/// <summary> /// Create a new SalesDept object. /// </summary> /// <param name="setid">Initial value of the Setid property.</param> /// <param name="deptID">Initial value of the DeptID property.</param> /// <param name="effDt">Initial value of the EffDt property.</param> /// <param name="effStatus">Initial value of the EffStatus property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="descrShort">Initial value of the DescrShort property.</param> /// <param name="managerName">Initial value of the ManagerName property.</param> public static SalesDept CreateSalesDept(global::System.String setid, global::System.String deptID, global::System.DateTime effDt, global::System.String effStatus, global::System.String description, global::System.String descrShort, global::System.String managerName) { SalesDept salesDept = new SalesDept(); salesDept.Setid = setid; salesDept.DeptID = deptID; salesDept.EffDt = effDt; salesDept.EffStatus = effStatus; salesDept.Description = description; salesDept.DescrShort = descrShort; salesDept.ManagerName = managerName; return salesDept; }
/// <summary> /// Deprecated Method for adding a new object to the SalesDepts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSalesDepts(SalesDept salesDept) { base.AddObject("SalesDepts", salesDept); }