title: Set the contents of a column to the same value
body: <p>I have the following function setup in my domain base:</p>
  
  <pre><code>    public void SetProcessFlag&lt;T&gt;(bool flag)
      {
          string tableName = typeof(T).ToString().Replace("MyBase.Core.Domain.", "");
  
          string sql = string.Concat("update ", tableName, " set ImportProcessed = '" , (flag?"1":"0"), "';");
          Framework.FluentSessionManager.GetSession()
              .CreateSQLQuery(sql)
              .ExecuteUpdate();
      }
  </code></pre>
  
  <p>I have a mapping with the schema of "Catalog" and the table of "Parts".  It contains a mapped column "ImportProcessed" as Bool.</p>
  
  <p>Now when I want to set the column "ImportProcesses" to true I call is like the this:</p>
  
  <pre><code>new Parts().SetProcessFlag&lt;Parts&gt;(true);
  </code></pre>
  
  <p>This works just fine.  I don't like having to assume that the folder the declaration of the record set has the same name of the schema.</p>
  
  <p>Is it possible to do the same thing with?:</p>
  
  <pre><code>Framework.FluentSessionManager.GetSession()
  .CreateCriteria(typeof(T))
  ....
  </code></pre>
  
  <p>Or even a more elegant method?  </p>
  
  <p>Thanks in advance.</p>