Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firebird provider does not trim off spaces from Constraint #275

Open
GoogleCodeExporter opened this issue Apr 24, 2015 · 1 comment
Open

Comments

@GoogleCodeExporter
Copy link

When looking in the dbml file, the Association Names have trailing spaces:

<Association Name="FK_ADLHISTSECTIONA_ADLHISTMAIN                         " 
Member="AdLHistSectionA" Storage="_adLhIstSectionA" Type="AdLHistSectionA" 
ThisKey="AsMTID" OtherKey="AsMTID" DeleteRule="NO ACTION" />

The trailing spaces need to be trimmed off so it looks like this:

<Association Name="FK_ADLHISTSECTIONA_ADLHISTMAIN" Member="AdLHistSectionA" 
Storage="_adLhIstSectionA" Type="AdLHistSectionA" ThisKey="AsMTID" 
OtherKey="AsMTID" DeleteRule="NO ACTION" />

Attached is a patch for file 
src/DbLinq.Firebird/FirebirdSchemaLoader.Constraints.cs which fixes the problem.

Original issue reported on code.google.com by scarle...@gmail.com on 18 Aug 2010 at 9:16

Attachments:

@GoogleCodeExporter
Copy link
Author

The first patch file was not created with a subversion UI, this patch file is 
created with TortoiseSVN.

Original comment by scarle...@gmail.com on 19 Aug 2010 at 3:29

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant