Ejemplo n.º 1
0
 /// <summary>
 /// 创建新的 ADMIN 对象。
 /// </summary>
 /// <param name="a_id">a_id 属性的初始值。</param>
 /// <param name="admin_id">admin_id 属性的初始值。</param>
 /// <param name="admin_account">admin_account 属性的初始值。</param>
 /// <param name="admin_password">admin_password 属性的初始值。</param>
 /// <param name="admin_last_login_time">admin_last_login_time 属性的初始值。</param>
 /// <param name="admin_last_login_ip">admin_last_login_ip 属性的初始值。</param>
 /// <param name="admin_nickname">admin_nickname 属性的初始值。</param>
 /// <param name="admin_timestamp">admin_timestamp 属性的初始值。</param>
 public static ADMIN CreateADMIN(global::System.Int64 a_id, global::System.Guid admin_id, global::System.String admin_account, global::System.String admin_password, global::System.DateTime admin_last_login_time, global::System.String admin_last_login_ip, global::System.String admin_nickname, global::System.Byte[] admin_timestamp)
 {
     ADMIN aDMIN = new ADMIN();
     aDMIN.a_id = a_id;
     aDMIN.admin_id = admin_id;
     aDMIN.admin_account = admin_account;
     aDMIN.admin_password = admin_password;
     aDMIN.admin_last_login_time = admin_last_login_time;
     aDMIN.admin_last_login_ip = admin_last_login_ip;
     aDMIN.admin_nickname = admin_nickname;
     aDMIN.admin_timestamp = admin_timestamp;
     return aDMIN;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 用于向 ADMIN EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToADMIN(ADMIN aDMIN)
 {
     base.AddObject("ADMIN", aDMIN);
 }