예제 #1
0
 /// <summary>
 /// 用于向 Admin_KSCustomer EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToAdmin_KSCustomer(Admin_KSCustomer admin_KSCustomer)
 {
     base.AddObject("Admin_KSCustomer", admin_KSCustomer);
 }
예제 #2
0
 /// <summary>
 /// 创建新的 Admin_KSCustomer 对象。
 /// </summary>
 /// <param name="id">ID 属性的初始值。</param>
 /// <param name="roleID">RoleID 属性的初始值。</param>
 /// <param name="realName">RealName 属性的初始值。</param>
 /// <param name="cusName">CusName 属性的初始值。</param>
 /// <param name="cusPwd">CusPwd 属性的初始值。</param>
 /// <param name="isDelete">IsDelete 属性的初始值。</param>
 /// <param name="addTime">AddTime 属性的初始值。</param>
 public static Admin_KSCustomer CreateAdmin_KSCustomer(global::System.Int32 id, global::System.Int32 roleID, global::System.String realName, global::System.String cusName, global::System.String cusPwd, global::System.Boolean isDelete, global::System.DateTime addTime)
 {
     Admin_KSCustomer admin_KSCustomer = new Admin_KSCustomer();
     admin_KSCustomer.ID = id;
     admin_KSCustomer.RoleID = roleID;
     admin_KSCustomer.RealName = realName;
     admin_KSCustomer.CusName = cusName;
     admin_KSCustomer.CusPwd = cusPwd;
     admin_KSCustomer.IsDelete = isDelete;
     admin_KSCustomer.AddTime = addTime;
     return admin_KSCustomer;
 }