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