예제 #1
0
 /// <summary>
 /// 用于向 DistrictPlan EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToDistrictPlan(DistrictPlan districtPlan)
 {
     base.AddObject("DistrictPlan", districtPlan);
 }
예제 #2
0
 /// <summary>
 /// 创建新的 DistrictPlan 对象。
 /// </summary>
 /// <param name="id">Id 属性的初始值。</param>
 /// <param name="districPlanNumber">DistricPlanNumber 属性的初始值。</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="districPlanStatusId">DistricPlanStatusId 属性的初始值。</param>
 /// <param name="orgChartId">OrgChartId 属性的初始值。</param>
 /// <param name="operatedBEmployeeId">OperatedBEmployeeId 属性的初始值。</param>
 public static DistrictPlan CreateDistrictPlan(global::System.Decimal id, global::System.String districPlanNumber, global::System.DateTime createdOn, global::System.Decimal createdByEmployeeId, global::System.DateTime modifiedOn, global::System.Decimal modifiedByEmployeeId, global::System.Int16 isActive, global::System.Decimal districPlanStatusId, global::System.Decimal orgChartId, global::System.Decimal operatedBEmployeeId)
 {
     DistrictPlan districtPlan = new DistrictPlan();
     districtPlan.Id = id;
     districtPlan.DistricPlanNumber = districPlanNumber;
     districtPlan.CreatedOn = createdOn;
     districtPlan.CreatedByEmployeeId = createdByEmployeeId;
     districtPlan.ModifiedOn = modifiedOn;
     districtPlan.ModifiedByEmployeeId = modifiedByEmployeeId;
     districtPlan.IsActive = isActive;
     districtPlan.DistricPlanStatusId = districPlanStatusId;
     districtPlan.OrgChartId = orgChartId;
     districtPlan.OperatedBEmployeeId = operatedBEmployeeId;
     return districtPlan;
 }