Posts by Jaime Yule • 141 points
2 posts
-
1
votes4
answers2911
viewsA: Entity Foreign Key Framework
You can’t have a Manytomany relationship like this. Use EntityTypeConfiguration of lib System.Data.Entity.ModelConfiguration. And create the Map: public class SBE_ST_CorpoDocenteMap :…
-
3
votes1
answer328
viewsA: Return Join Linq C#
Error happens because you are not returning a list of Line. Try this: public List<Line> Get() { return context. Lines. Join( context.Products, lines => lines.ID, products =>…