Esempio n. 1
0
 /// <summary>
 /// 用于向 sns_user_session EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddTosns_user_session(sns_user_session sns_user_session)
 {
     base.AddObject("sns_user_session", sns_user_session);
 }
Esempio n. 2
0
 /// <summary>
 /// 创建新的 sns_user_session 对象。
 /// </summary>
 /// <param name="sesskey">sesskey 属性的初始值。</param>
 /// <param name="expiry">expiry 属性的初始值。</param>
 /// <param name="data">data 属性的初始值。</param>
 public static sns_user_session Createsns_user_session(global::System.String sesskey, global::System.Int64 expiry, global::System.String data)
 {
     sns_user_session sns_user_session = new sns_user_session();
     sns_user_session.sesskey = sesskey;
     sns_user_session.expiry = expiry;
     sns_user_session.data = data;
     return sns_user_session;
 }