Hi,
I am reposting it because last night I post it in the "Installation forum".
I am in the process of extending nopCommerce (version 1.80) to add a new entity.
I already read the article : http://blogs.planetcloud.co.uk/mygreatdiscovery/post/How-to-extend-nopCommerce.aspx which help me a lot but I still have few questions.
I notice that in nopCommerce database, sometimes the relations (FK) between table is not made, for exemple, the CustomerID in the Order table is not an FK to the Customer table, is there a reason for that? Is there a "rule" or a "pattern" that has been use by nopCommerce development for an easier integration with EF ?
I am new to Entity Framework, I never use it before. After I updated NopModel.edmx to add my new tables, I noticed that all the ID fields (for exemple CustomerID) that are FK has been added as Navigation Properties instead of Scalar Properties. Can I safely delete those Navigation Properties and create them (the FK) as Scalar properties? Can this cause me future problem?
Thank you
Patrick