1

Closed

A Reserved Word in SQL leaves the brackets in the generated Code.

description

I grabbed the code from the trunk yesterday afternoon.
 
[Table(Name="dbo.List")]
public partial class List
{
    /* .... snip ... */
    private string _[Desc];
    /* .... snip ... */
[Column(Name="[Desc]", Storage="_[Desc]", DbType="VarChar(255)", CanBeNull=true, UpdateCheck=UpdateCheck.Never)]
    public string Desc
    {
        get
        {
            return _[Desc];
        }
        set
        {
            _[Desc] = value;
        }
    }
    /* .... snip ... */
}
Closed May 7, 2008 at 7:07 PM by benjamine

comments

wrote May 7, 2008 at 7:07 PM

Resolved with changeset 11362.

benjamine wrote May 7, 2008 at 7:10 PM

Thanks for the feedback!, and sorry for the delay... now I'm subscribed to Issue Tracker RSS Feed :)

wrote Feb 2, 2013 at 6:13 AM

wrote May 14, 2013 at 11:55 PM