コード例 #1
0
 /// <summary>
 /// 用于向 sns_member EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddTosns_member(sns_member sns_member)
 {
     base.AddObject("sns_member", sns_member);
 }
コード例 #2
0
 /// <summary>
 /// 创建新的 sns_member 对象。
 /// </summary>
 /// <param name="uid">uid 属性的初始值。</param>
 /// <param name="name">name 属性的初始值。</param>
 /// <param name="email">email 属性的初始值。</param>
 /// <param name="password">password 属性的初始值。</param>
 /// <param name="securekey">securekey 属性的初始值。</param>
 /// <param name="regdate">regdate 属性的初始值。</param>
 /// <param name="regip">regip 属性的初始值。</param>
 /// <param name="lastdate">lastdate 属性的初始值。</param>
 /// <param name="lastip">lastip 属性的初始值。</param>
 /// <param name="groupid">groupid 属性的初始值。</param>
 public static sns_member Createsns_member(global::System.Int32 uid, global::System.String name, global::System.String email, global::System.String password, global::System.String securekey, global::System.Int32 regdate, global::System.String regip, global::System.Int32 lastdate, global::System.String lastip, global::System.Int16 groupid)
 {
     sns_member sns_member = new sns_member();
     sns_member.uid = uid;
     sns_member.name = name;
     sns_member.email = email;
     sns_member.password = password;
     sns_member.securekey = securekey;
     sns_member.regdate = regdate;
     sns_member.regip = regip;
     sns_member.lastdate = lastdate;
     sns_member.lastip = lastip;
     sns_member.groupid = groupid;
     return sns_member;
 }