/// <summary> /// 创建新的 Sys_SightTicket 对象。 /// </summary> /// <param name="ticketID">TicketID 属性的初始值。</param> /// <param name="parkID">ParkID 属性的初始值。</param> public static Sys_SightTicket CreateSys_SightTicket(global::System.Int32 ticketID, global::System.Int32 parkID) { Sys_SightTicket sys_SightTicket = new Sys_SightTicket(); sys_SightTicket.TicketID = ticketID; sys_SightTicket.ParkID = parkID; return sys_SightTicket; }
/// <summary> /// 用于向 Sys_SightTicket EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToSys_SightTicket(Sys_SightTicket sys_SightTicket) { base.AddObject("Sys_SightTicket", sys_SightTicket); }