title: How do I reference a field in LINQ that is named using a reserved word?
body: <p>table:<code>UserTypes</code></p>
  
  <p>Fields:<code>row,name,Type</code></p>
  
  <p>This code is not working:</p>
  
  <pre><code> Int64 row = 1;
  var myType = (from b in dc.UserTypes where b.Row == user.Row  select b).Single();
  myType.Type = "personalPage";
  dc.SubmitChanges();
  </code></pre>
  
  <p>But, this code does...<br>
       <code>dc.ExecuteQuery&lt;UserType &gt;("update dbo.UserType set Type='personalPage' where row={0}",user.Row</code> );</p>
  
  <p>I get this error:</p>
  
  <blockquote>
    <p>Type the word is a word reserved.i can not user word<code>Type</code></p>
  </blockquote>
  
  <p><strong>EDIT</strong></p>
  
  <p>dbml</p>
  
  <pre><code>  [Table(Name="dbo.UserType")]
    public partial class UserType
   {
  
       private long _Row;
  
       private string _Type;
  
       public UserType()
       {
       }
  
       [Column(Storage="_Row", DbType="BigInt NOT NULL")]
       public long Row
       {
       get
        {
          return this._Row;
         }
       set
         {
          if ((this._Row != value))
          {
              this._Row = value;
          }
          }
      }
  
      [Column(Storage="_Type", DbType="NVarChar(500) NOT NULL", CanBeNull=false)]
      public string Type
       {
      get
      {
          return this._Type;
      }
      set
      {
          if ((this._Type != value))
          {
              this._Type = value;
          }
      }
      }
  
  }               
  </code></pre>