/// <summary> /// 用于向 GroupPlan EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToGroupPlan(GroupPlan groupPlan) { base.AddObject("GroupPlan", groupPlan); }
/// <summary> /// 创建新的 GroupPlan 对象。 /// </summary> /// <param name="id">Id 属性的初始值。</param> /// <param name="groupPlanNumber">GroupPlanNumber 属性的初始值。</param> /// <param name="createdOn">CreatedOn 属性的初始值。</param> /// <param name="createdByEmployeeId">CreatedByEmployeeId 属性的初始值。</param> /// <param name="modifiedOn">ModifiedOn 属性的初始值。</param> /// <param name="modifiedByEmployeeId">ModifiedByEmployeeId 属性的初始值。</param> /// <param name="isActive">IsActive 属性的初始值。</param> /// <param name="groupPlanStatusId">GroupPlanStatusId 属性的初始值。</param> /// <param name="orgChartId">OrgChartId 属性的初始值。</param> /// <param name="operatedEmployeeId">OperatedEmployeeId 属性的初始值。</param> public static GroupPlan CreateGroupPlan(global::System.Decimal id, global::System.String groupPlanNumber, global::System.DateTime createdOn, global::System.Decimal createdByEmployeeId, global::System.DateTime modifiedOn, global::System.Decimal modifiedByEmployeeId, global::System.Int16 isActive, global::System.Decimal groupPlanStatusId, global::System.Decimal orgChartId, global::System.Decimal operatedEmployeeId) { GroupPlan groupPlan = new GroupPlan(); groupPlan.Id = id; groupPlan.GroupPlanNumber = groupPlanNumber; groupPlan.CreatedOn = createdOn; groupPlan.CreatedByEmployeeId = createdByEmployeeId; groupPlan.ModifiedOn = modifiedOn; groupPlan.ModifiedByEmployeeId = modifiedByEmployeeId; groupPlan.IsActive = isActive; groupPlan.GroupPlanStatusId = groupPlanStatusId; groupPlan.OrgChartId = orgChartId; groupPlan.OperatedEmployeeId = operatedEmployeeId; return groupPlan; }