/// <summary> /// 用于向 sys_admin_logs EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddTosys_admin_logs(sys_admin_logs sys_admin_logs) { base.AddObject("sys_admin_logs", sys_admin_logs); }
/// <summary> /// 创建新的 sys_admin_logs 对象。 /// </summary> /// <param name="admin_logs_id">admin_logs_id 属性的初始值。</param> /// <param name="admin_id">admin_id 属性的初始值。</param> /// <param name="admin_log_title">admin_log_title 属性的初始值。</param> /// <param name="page_url">page_url 属性的初始值。</param> /// <param name="created_time">created_time 属性的初始值。</param> /// <param name="remark">remark 属性的初始值。</param> /// <param name="deleted">deleted 属性的初始值。</param> /// <param name="type_id">type_id 属性的初始值。</param> /// <param name="netaddress">netaddress 属性的初始值。</param> public static sys_admin_logs Createsys_admin_logs(global::System.Int32 admin_logs_id, global::System.String admin_id, global::System.String admin_log_title, global::System.String page_url, global::System.DateTime created_time, global::System.String remark, global::System.Boolean deleted, global::System.Int32 type_id, global::System.String netaddress) { sys_admin_logs sys_admin_logs = new sys_admin_logs(); sys_admin_logs.admin_logs_id = admin_logs_id; sys_admin_logs.admin_id = admin_id; sys_admin_logs.admin_log_title = admin_log_title; sys_admin_logs.page_url = page_url; sys_admin_logs.created_time = created_time; sys_admin_logs.remark = remark; sys_admin_logs.deleted = deleted; sys_admin_logs.type_id = type_id; sys_admin_logs.netaddress = netaddress; return sys_admin_logs; }