1
我需要建立某種矩陣的從A點去所需的天數到B點。需要進行數據錄入的一種矩陣
這應該是這樣的:
每個起點/終點點被存儲在表(名爲停止):
public class Stop
{
[Key]
public int StopID { get; set; }
public string StopCode { get; set; }
}
矩陣的數據應當被存儲在另一個表中:
public class Matrix
{
[Key]
public int MatrixID { get; set; }
public int OriginStopID { get; set; }
public int DestinationStopID { get; set; }
public int NumberOfDays { get; set; }
}
我需要一個視圖來允許用戶輸入這個矩陣中的數據。 我該如何做到這一點?我不知道。
謝謝。
你有沒有這方面的任何解決方案?我也有這樣的問題。 –