/// <summary>
 /// 用于向 sns_user EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddTosns_user(sns_user sns_user)
 {
     base.AddObject("sns_user", sns_user);
 }
 /// <summary>
 /// 创建新的 sns_user 对象。
 /// </summary>
 /// <param name="id">id 属性的初始值。</param>
 /// <param name="securekey">securekey 属性的初始值。</param>
 /// <param name="active">active 属性的初始值。</param>
 /// <param name="identity">identity 属性的初始值。</param>
 /// <param name="score">score 属性的初始值。</param>
 /// <param name="ring_groupid">ring_groupid 属性的初始值。</param>
 /// <param name="regip">regip 属性的初始值。</param>
 public static sns_user Createsns_user(global::System.Int32 id, global::System.String securekey, global::System.Int16 active, global::System.Int16 identity, global::System.Int32 score, global::System.Int16 ring_groupid, global::System.String regip)
 {
     sns_user sns_user = new sns_user();
     sns_user.id = id;
     sns_user.securekey = securekey;
     sns_user.active = active;
     sns_user.identity = identity;
     sns_user.score = score;
     sns_user.ring_groupid = ring_groupid;
     sns_user.regip = regip;
     return sns_user;
 }