Exemplo n.º 1
0
 /// <summary>
 /// 用于向 DistrictPlanDetails EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToDistrictPlanDetails(DistrictPlanDetails districtPlanDetails)
 {
     base.AddObject("DistrictPlanDetails", districtPlanDetails);
 }
Exemplo n.º 2
0
 /// <summary>
 /// 创建新的 DistrictPlanDetails 对象。
 /// </summary>
 /// <param name="id">Id 属性的初始值。</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="districtPlanCollectionId">DistrictPlanCollectionId 属性的初始值。</param>
 /// <param name="projectPlanCollectionId">ProjectPlanCollectionId 属性的初始值。</param>
 public static DistrictPlanDetails CreateDistrictPlanDetails(global::System.Decimal id, global::System.DateTime createdOn, global::System.Decimal createdByEmployeeId, global::System.DateTime modifiedOn, global::System.Decimal modifiedByEmployeeId, global::System.Int16 isActive, global::System.Decimal districtPlanCollectionId, global::System.Decimal projectPlanCollectionId)
 {
     DistrictPlanDetails districtPlanDetails = new DistrictPlanDetails();
     districtPlanDetails.Id = id;
     districtPlanDetails.CreatedOn = createdOn;
     districtPlanDetails.CreatedByEmployeeId = createdByEmployeeId;
     districtPlanDetails.ModifiedOn = modifiedOn;
     districtPlanDetails.ModifiedByEmployeeId = modifiedByEmployeeId;
     districtPlanDetails.IsActive = isActive;
     districtPlanDetails.DistrictPlanCollectionId = districtPlanCollectionId;
     districtPlanDetails.ProjectPlanCollectionId = projectPlanCollectionId;
     return districtPlanDetails;
 }