Order Id: Integer
作為一個被添加的特性,當你按下回車鍵時,你會發現在下一行上已經立即添加了下一個屬性。
Order Description: String Order Type: ProductType Order Status: OrderStatus Created By: String Created Date: Date
在你為最后一行按下回車鍵后,按 Escape 鍵,它能夠刪除新的將要添加的屬性。仔細的輸入上面所示的屬性。兩個詞的名字,比如 Order Description 之間有一個空格;兩個詞的類型則沒有。
為剩下的實體添加屬性
重復前面所講述的過程來為其余的五個實體添加被需要的所有屬性。
為 Order Detail:
Order Detail Id: Integer Sequence: Integer Quantity: Single Price: Currency
為 Supplier:
Supplier Number: Integer Supplier Type: ProductType Location: String Active: Boolean Address: String
為 Product:
Product Id: Integer Product Description: String Product Type: ProductType Units In Stock: Long Units Sold: Long Cost Price: Currency Selling Price: Currency
為 Garment:
Size Range: String Color: String Fashion Season: String
為 Food Item:
Sell By Date: Date Perishable: Boolean
你的邏輯數據模型圖看起來應該與下面的圖非常相似:
在這個階段,你已經為超市的樣例在最初的實體列表中輸入了所有的信息表示。雖然信息是相同的,但是在 Data Modeler 中的信息提供了兩個獨特的優點。第一個是,你擁有了一個立即被創建的圖;第二個是,你輸入到圖中的大部分數據都成為了結構化模型中的數據。你可以非常自由的產生圖。
文章來源于領測軟件測試網 http://www.k11sc111.com/