Пример #1
0
 /// <summary>
 /// 用于向 sys_administrator EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddTosys_administrator(sys_administrator sys_administrator)
 {
     base.AddObject("sys_administrator", sys_administrator);
 }
Пример #2
0
 /// <summary>
 /// 创建新的 sys_administrator 对象。
 /// </summary>
 /// <param name="admin_id">admin_id 属性的初始值。</param>
 /// <param name="display_name">display_name 属性的初始值。</param>
 /// <param name="password">password 属性的初始值。</param>
 /// <param name="email">email 属性的初始值。</param>
 /// <param name="enabled">enabled 属性的初始值。</param>
 /// <param name="created_time">created_time 属性的初始值。</param>
 /// <param name="deleted">deleted 属性的初始值。</param>
 public static sys_administrator Createsys_administrator(global::System.String admin_id, global::System.String display_name, global::System.String password, global::System.String email, global::System.Boolean enabled, global::System.DateTime created_time, global::System.Boolean deleted)
 {
     sys_administrator sys_administrator = new sys_administrator();
     sys_administrator.admin_id = admin_id;
     sys_administrator.display_name = display_name;
     sys_administrator.password = password;
     sys_administrator.email = email;
     sys_administrator.enabled = enabled;
     sys_administrator.created_time = created_time;
     sys_administrator.deleted = deleted;
     return sys_administrator;
 }