Firebird provider does not trim off spaces from Constraint #275

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

Comments

Projects
None yet
1 participant
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:

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