Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Mapping
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2046/NHibernate/Mapping
Modified Files:
Column.cs Table.cs
Log Message:
Solved some quoting problem, found problem with Alias class.
Index: Table.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Mapping/Table.cs,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** Table.cs 14 Apr 2004 14:48:47 -0000 1.11
--- Table.cs 15 Apr 2004 09:30:15 -0000 1.12
***************
*** 70,79 ****
}
- [Obsolete("Should use Quote functions")]
public string GetQuotedName(Dialect.Dialect dialect)
{
! return quoted ?
! dialect.OpenQuote + name + dialect.CloseQuote :
! name;
}
--- 70,76 ----
}
public string GetQuotedName(Dialect.Dialect dialect)
{
! return dialect.QuoteForTableName(name);
}
Index: Column.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Mapping/Column.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** Column.cs 14 Apr 2004 14:48:47 -0000 1.7
--- Column.cs 15 Apr 2004 09:30:15 -0000 1.8
***************
*** 54,63 ****
}
- [Obsolete("Should use Quote functions")]
public string GetQuotedName(Dialect.Dialect d)
{
! return quoted ?
! d.OpenQuote + name + d.CloseQuote :
! name;
}
--- 54,60 ----
}
public string GetQuotedName(Dialect.Dialect d)
{
! return d.QuoteForColumnName(name);
}
|