Esempio n. 1
0
 /// <summary>
 /// 创建新的 DiscussReturn 对象。
 /// </summary>
 /// <param name="id">Id 属性的初始值。</param>
 /// <param name="discussContentId">DiscussContentId 属性的初始值。</param>
 /// <param name="discussUserId">DiscussUserId 属性的初始值。</param>
 /// <param name="returnContent">ReturnContent 属性的初始值。</param>
 /// <param name="returnTime">ReturnTime 属性的初始值。</param>
 public static DiscussReturn CreateDiscussReturn(global::System.Int32 id, global::System.Int32 discussContentId, global::System.Int32 discussUserId, global::System.String returnContent, global::System.String returnTime)
 {
     DiscussReturn discussReturn = new DiscussReturn();
     discussReturn.Id = id;
     discussReturn.DiscussContentId = discussContentId;
     discussReturn.DiscussUserId = discussUserId;
     discussReturn.ReturnContent = returnContent;
     discussReturn.ReturnTime = returnTime;
     return discussReturn;
 }
Esempio n. 2
0
 /// <summary>
 /// 用于向 DiscussReturns EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToDiscussReturns(DiscussReturn discussReturn)
 {
     base.AddObject("DiscussReturns", discussReturn);
 }