2012-07-12 38 views

回答

2

您需要使用KeyReference代替KeyProperty

CompositeId() 
    .KeyProperty(x => x.CART_ID, "CART_ID") 
    .KeyReference(x => x.Product, "COMM_CD"); 
相關問題