예제 #1
0
 /// <summary>
 /// 用于向 sns_forum EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddTosns_forum(sns_forum sns_forum)
 {
     base.AddObject("sns_forum", sns_forum);
 }
예제 #2
0
 /// <summary>
 /// 创建新的 sns_forum 对象。
 /// </summary>
 /// <param name="fid">fid 属性的初始值。</param>
 /// <param name="cid">cid 属性的初始值。</param>
 /// <param name="name">name 属性的初始值。</param>
 /// <param name="synopsis">synopsis 属性的初始值。</param>
 /// <param name="moderator">moderator 属性的初始值。</param>
 /// <param name="friend">friend 属性的初始值。</param>
 /// <param name="commend">commend 属性的初始值。</param>
 /// <param name="dateline">dateline 属性的初始值。</param>
 public static sns_forum Createsns_forum(global::System.Int32 fid, global::System.Int16 cid, global::System.String name, global::System.String synopsis, global::System.String moderator, global::System.String friend, global::System.Int32 commend, global::System.Int32 dateline)
 {
     sns_forum sns_forum = new sns_forum();
     sns_forum.fid = fid;
     sns_forum.cid = cid;
     sns_forum.name = name;
     sns_forum.synopsis = synopsis;
     sns_forum.moderator = moderator;
     sns_forum.friend = friend;
     sns_forum.commend = commend;
     sns_forum.dateline = dateline;
     return sns_forum;
 }