Me and my friend having a problem while doing a homework assignment.
We have made 4 print screens. The problem is we both get the same error”
The error is:
Error 1 The type ‘Jabber.Models.Jab’ already contains a definition for ‘Message’
https://i.stack.imgur.com/lI60N.png
https://i.stack.imgur.com/S0dkb.png
https://i.stack.imgur.com/L1Qko.png
https://i.stack.imgur.com/YEW8t.png




Your class Jab is marked as partial, which means the compiler will combine it with any other classes named jab in the same namespace (as long as they’re partial too). Your EDMX file is in the same folder and has an entity called Jab, which will be turned into a class automatically. It also has a property named Message, which is the reason you’re getting the error.
Try using the MetaDataType attribute to add the metadata to message instead.