/// <summary>
 /// 用于向 DistrictProjectRelation EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToDistrictProjectRelation(DistrictProjectRelation districtProjectRelation)
 {
     base.AddObject("DistrictProjectRelation", districtProjectRelation);
 }
 /// <summary>
 /// 创建新的 DistrictProjectRelation 对象。
 /// </summary>
 /// <param name="id">Id 属性的初始值。</param>
 /// <param name="districtPlanId">DistrictPlanId 属性的初始值。</param>
 /// <param name="projectPlanCollectionId">ProjectPlanCollectionId 属性的初始值。</param>
 /// <param name="createOn">CreateOn 属性的初始值。</param>
 /// <param name="modifiedOn">ModifiedOn 属性的初始值。</param>
 public static DistrictProjectRelation CreateDistrictProjectRelation(global::System.Decimal id, global::System.Decimal districtPlanId, global::System.Decimal projectPlanCollectionId, global::System.DateTime createOn, global::System.DateTime modifiedOn)
 {
     DistrictProjectRelation districtProjectRelation = new DistrictProjectRelation();
     districtProjectRelation.Id = id;
     districtProjectRelation.DistrictPlanId = districtPlanId;
     districtProjectRelation.ProjectPlanCollectionId = projectPlanCollectionId;
     districtProjectRelation.CreateOn = createOn;
     districtProjectRelation.ModifiedOn = modifiedOn;
     return districtProjectRelation;
 }