Skip to content

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

@GoogleCodeExporter

Description

@GoogleCodeExporter
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:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions