Ejemplo n.º 1
0
 /// <summary>
 /// 用于向 REVIEW EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToREVIEW(REVIEW rEVIEW)
 {
     base.AddObject("REVIEW", rEVIEW);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 创建新的 REVIEW 对象。
 /// </summary>
 /// <param name="r_id">r_id 属性的初始值。</param>
 /// <param name="review_id">review_id 属性的初始值。</param>
 /// <param name="review_content">review_content 属性的初始值。</param>
 /// <param name="review_author">review_author 属性的初始值。</param>
 /// <param name="review_publish_date">review_publish_date 属性的初始值。</param>
 /// <param name="review_isDeleted">review_isDeleted 属性的初始值。</param>
 /// <param name="review_news">review_news 属性的初始值。</param>
 /// <param name="review_timestamp">review_timestamp 属性的初始值。</param>
 public static REVIEW CreateREVIEW(global::System.Int32 r_id, global::System.Guid review_id, global::System.String review_content, global::System.Guid review_author, global::System.DateTime review_publish_date, global::System.Boolean review_isDeleted, global::System.Guid review_news, global::System.Byte[] review_timestamp)
 {
     REVIEW rEVIEW = new REVIEW();
     rEVIEW.r_id = r_id;
     rEVIEW.review_id = review_id;
     rEVIEW.review_content = review_content;
     rEVIEW.review_author = review_author;
     rEVIEW.review_publish_date = review_publish_date;
     rEVIEW.review_isDeleted = review_isDeleted;
     rEVIEW.review_news = review_news;
     rEVIEW.review_timestamp = review_timestamp;
     return rEVIEW;
 }