Ejemplo n.º 1
0
 /// <summary>
 /// 用于向 sns_forum_temp EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddTosns_forum_temp(sns_forum_temp sns_forum_temp)
 {
     base.AddObject("sns_forum_temp", sns_forum_temp);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 创建新的 sns_forum_temp 对象。
 /// </summary>
 /// <param name="fid">fid 属性的初始值。</param>
 /// <param name="name">name 属性的初始值。</param>
 /// <param name="synopsis">synopsis 属性的初始值。</param>
 /// <param name="founder">founder 属性的初始值。</param>
 /// <param name="dateline">dateline 属性的初始值。</param>
 /// <param name="ipaddress">ipaddress 属性的初始值。</param>
 public static sns_forum_temp Createsns_forum_temp(global::System.Int32 fid, global::System.String name, global::System.String synopsis, global::System.String founder, global::System.Int32 dateline, global::System.String ipaddress)
 {
     sns_forum_temp sns_forum_temp = new sns_forum_temp();
     sns_forum_temp.fid = fid;
     sns_forum_temp.name = name;
     sns_forum_temp.synopsis = synopsis;
     sns_forum_temp.founder = founder;
     sns_forum_temp.dateline = dateline;
     sns_forum_temp.ipaddress = ipaddress;
     return sns_forum_temp;
 }