private static void Initialize(DayPLNotValued item, DataRow dataRow) { item.OrderId = (Guid)dataRow["OrderID"]; item.Interest = (decimal)dataRow["DayInterestPLNotValued"]; item.Storage = (decimal)dataRow["DayStoragePLNotValued"]; }