コード例 #1
0
        public static AssetTicket GetAssetTicket(LoginUser loginUser, int ticketID)
        {
            AssetTickets assetTickets = new AssetTickets(loginUser);

            assetTickets.LoadByTicketID(ticketID);
            if (assetTickets.IsEmpty)
            {
                return(null);
            }
            else
            {
                return(assetTickets[0]);
            }
        }
コード例 #2
0
 public AssetTicket(DataRow row, AssetTickets assetTickets) : base(row, assetTickets)
 {
     _assetTickets = assetTickets;
 }