From: Michael D. <mik...@us...> - 2004-04-16 04:13:31
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Mapping In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31801/NHibernate/Mapping Modified Files: Column.cs Table.cs Log Message: Modified Alias so that only items that need to be Quoted will be quoted. See SimpleComponent.hbm.xml for quoting columns. Index: Table.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Mapping/Table.cs,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** Table.cs 15 Apr 2004 09:30:15 -0000 1.12 --- Table.cs 16 Apr 2004 04:13:22 -0000 1.13 *************** *** 72,76 **** public string GetQuotedName(Dialect.Dialect dialect) { ! return dialect.QuoteForTableName(name); } --- 72,78 ---- public string GetQuotedName(Dialect.Dialect dialect) { ! return IsQuoted ? ! dialect.QuoteForTableName(name): ! name; } Index: Column.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Mapping/Column.cs,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** Column.cs 15 Apr 2004 21:07:18 -0000 1.10 --- Column.cs 16 Apr 2004 04:13:22 -0000 1.11 *************** *** 56,60 **** public string GetQuotedName(Dialect.Dialect d) { ! return d.QuoteForColumnName(name); } --- 56,62 ---- public string GetQuotedName(Dialect.Dialect d) { ! return IsQuoted ? ! d.QuoteForColumnName(name) : ! name; } |