Microsoft Developer Network > 포럼 홈 > Microsoft SQL Server Modeling > List Representation Discrepancy in M's Object Model
질문하기질문하기
 

답변됨List Representation Discrepancy in M's Object Model

  • 2009년 6월 24일 수요일 오후 12:02Ceyhun Ciper 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     

    Fibonacci[1,1,2]

    and

    Fibonacci { Head => 1, Tail => { Head => 1, Tail => { Head => 2, Tail => {} } } }

    have different representations in the MGraph Object Model.

    You can verify that by comparing the "List Example" and "Another List Example" graphs @ http://sixpairs.com/mgom.aspx

    The first one has brands while the second one doesn't.

    The second one looks more natural to me as the last tail is an empty collection without a brand (and the intermediate tails don't have brands either).

    What do you think? Should the two representations be the same or do their differences add more semantic value?

    • 유형 변경됨Ceyhun Ciper 2009년 7월 5일 일요일 오후 2:39I need some informative answer
    •  

답변

모든 응답