示例#1
0
 /// <summary>
 /// 用于向 DistrictPlanCollection EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToDistrictPlanCollection(DistrictPlanCollection districtPlanCollection)
 {
     base.AddObject("DistrictPlanCollection", districtPlanCollection);
 }
示例#2
0
 /// <summary>
 /// 创建新的 DistrictPlanCollection 对象。
 /// </summary>
 /// <param name="id">Id 属性的初始值。</param>
 /// <param name="year">Year 属性的初始值。</param>
 /// <param name="agreementNumber">AgreementNumber 属性的初始值。</param>
 /// <param name="unit">Unit 属性的初始值。</param>
 /// <param name="qualityRequirement">QualityRequirement 属性的初始值。</param>
 /// <param name="comments">Comments 属性的初始值。</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="contractCategoryId">ContractCategoryId 属性的初始值。</param>
 /// <param name="bidModeId">BidModeId 属性的初始值。</param>
 /// <param name="districPlanId">DistricPlanId 属性的初始值。</param>
 /// <param name="contractId">ContractId 属性的初始值。</param>
 /// <param name="isVoilate">IsVoilate 属性的初始值。</param>
 /// <param name="reason">Reason 属性的初始值。</param>
 /// <param name="totalNumber">TotalNumber 属性的初始值。</param>
 /// <param name="estimatedTotalValue">EstimatedTotalValue 属性的初始值。</param>
 /// <param name="submittionNmuber">SubmittionNmuber 属性的初始值。</param>
 /// <param name="submittionValue">SubmittionValue 属性的初始值。</param>
 public static DistrictPlanCollection CreateDistrictPlanCollection(global::System.Decimal id, global::System.String year, global::System.String agreementNumber, global::System.String unit, global::System.String qualityRequirement, global::System.String comments, global::System.DateTime createdOn, global::System.Decimal createdByEmployeeId, global::System.DateTime modifiedOn, global::System.Decimal modifiedByEmployeeId, global::System.Int16 isActive, global::System.Decimal contractCategoryId, global::System.Decimal bidModeId, global::System.Decimal districPlanId, global::System.Decimal contractId, global::System.Int16 isVoilate, global::System.String reason, global::System.String totalNumber, global::System.String estimatedTotalValue, global::System.String submittionNmuber, global::System.String submittionValue)
 {
     DistrictPlanCollection districtPlanCollection = new DistrictPlanCollection();
     districtPlanCollection.Id = id;
     districtPlanCollection.Year = year;
     districtPlanCollection.AgreementNumber = agreementNumber;
     districtPlanCollection.Unit = unit;
     districtPlanCollection.QualityRequirement = qualityRequirement;
     districtPlanCollection.Comments = comments;
     districtPlanCollection.CreatedOn = createdOn;
     districtPlanCollection.CreatedByEmployeeId = createdByEmployeeId;
     districtPlanCollection.ModifiedOn = modifiedOn;
     districtPlanCollection.ModifiedByEmployeeId = modifiedByEmployeeId;
     districtPlanCollection.IsActive = isActive;
     districtPlanCollection.ContractCategoryId = contractCategoryId;
     districtPlanCollection.BidModeId = bidModeId;
     districtPlanCollection.DistricPlanId = districPlanId;
     districtPlanCollection.ContractId = contractId;
     districtPlanCollection.IsVoilate = isVoilate;
     districtPlanCollection.Reason = reason;
     districtPlanCollection.TotalNumber = totalNumber;
     districtPlanCollection.EstimatedTotalValue = estimatedTotalValue;
     districtPlanCollection.SubmittionNmuber = submittionNmuber;
     districtPlanCollection.SubmittionValue = submittionValue;
     return districtPlanCollection;
 }