Exemplo n.º 1
0
 /// <summary>
 /// 用于向 sns_friend EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddTosns_friend(sns_friend sns_friend)
 {
     base.AddObject("sns_friend", sns_friend);
 }
Exemplo n.º 2
0
 /// <summary>
 /// 创建新的 sns_friend 对象。
 /// </summary>
 /// <param name="uid">uid 属性的初始值。</param>
 /// <param name="fuid">fuid 属性的初始值。</param>
 /// <param name="fusername">fusername 属性的初始值。</param>
 /// <param name="status">status 属性的初始值。</param>
 /// <param name="note">note 属性的初始值。</param>
 /// <param name="dateline">dateline 属性的初始值。</param>
 public static sns_friend Createsns_friend(global::System.Int32 uid, global::System.Int32 fuid, global::System.String fusername, global::System.Int16 status, global::System.String note, global::System.Int64 dateline)
 {
     sns_friend sns_friend = new sns_friend();
     sns_friend.uid = uid;
     sns_friend.fuid = fuid;
     sns_friend.fusername = fusername;
     sns_friend.status = status;
     sns_friend.note = note;
     sns_friend.dateline = dateline;
     return sns_friend;
 }