Example #1
0
 /// <summary>
 /// 创建新的 Admin_Department 对象。
 /// </summary>
 /// <param name="id">ID 属性的初始值。</param>
 /// <param name="dpName">DpName 属性的初始值。</param>
 /// <param name="isDelete">IsDelete 属性的初始值。</param>
 /// <param name="addTime">AddTime 属性的初始值。</param>
 public static Admin_Department CreateAdmin_Department(global::System.Int32 id, global::System.String dpName, global::System.Boolean isDelete, global::System.DateTime addTime)
 {
     Admin_Department admin_Department = new Admin_Department();
     admin_Department.ID = id;
     admin_Department.DpName = dpName;
     admin_Department.IsDelete = isDelete;
     admin_Department.AddTime = addTime;
     return admin_Department;
 }
Example #2
0
 /// <summary>
 /// 用于向 Admin_Department EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToAdmin_Department(Admin_Department admin_Department)
 {
     base.AddObject("Admin_Department", admin_Department);
 }