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