Пример #1
0
 /// <summary>
 /// 创建新的 Activity_Count 对象。
 /// </summary>
 /// <param name="id">Id 属性的初始值。</param>
 /// <param name="activity_id">Activity_id 属性的初始值。</param>
 /// <param name="number">Number 属性的初始值。</param>
 public static Activity_Count CreateActivity_Count(global::System.Int32 id, global::System.String activity_id, global::System.Int32 number)
 {
     Activity_Count activity_Count = new Activity_Count();
     activity_Count.Id = id;
     activity_Count.Activity_id = activity_id;
     activity_Count.Number = number;
     return activity_Count;
 }
Пример #2
0
 /// <summary>
 /// 用于向 Activity_CountSet EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToActivity_CountSet(Activity_Count activity_Count)
 {
     base.AddObject("Activity_CountSet", activity_Count);
 }