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