google-code-export / dblinq2007

Automatically exported from code.google.com/p/dblinq2007
Other
0 stars 0 forks source link

[Linq to Oracle] - Export 'OracleLinq.cs' file error in 'ValidateAssociations' when one table has foreign key with more than one columns. #341

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Table A has foreign key with columns(A.Column1,A.Column2) which referencing 
columns(B.Column1,B.Column2) of tabale B;

2.Excecute DbMetal command:
"DbMetal /database=RF /namespace=OracleDAL /code=OracleLinq.cs 
/provider=OracleODP /conn="Data Source=2013TRAINING_RFSCHEMA;User 
Id=RF;Password=RF" /readline"

3.Throw System.InvalidOperationException:"Sequence does not contain any matched 
element"

What is the expected output? What do you see instead?
expected output: No error was throwed by DbMetal;
see: System.InvalidOperationException:"Sequence does not contain any matched 
element"

Please use labels and text to provide additional information.
Error was throwed on line 160 in file 'Processor.cs'.

Original issue reported on code.google.com by google_2...@163.com on 26 Dec 2013 at 3:45

Attachments: