private static void testJsonParsingFromBdContent() { Dao <Freight> fDao = new Dao <Freight>("[dbo]", "Server=192.168.0.32; Database=teste; User Id=SA; Password=blive@123;"); QueryFreightResponseRoot qfrObj = fDao.Select("C7D57806-3A29-4DAA-9FB0-0130CA0BD21D").Content; Console.WriteLine(qfrObj); }
/// <summary> /// Constructor. /// </summary> public Freight(Guid freightsEventId, string shipmentNumber, string action, QueryFreightResponseRoot content) : base() { FreightsEventId = freightsEventId; ShipmentNumber = shipmentNumber; Action = action; Content = content; }