title: ASP.NET With Firebird database problems
body: <p>Did you ever try to create a ASP.NET MVC Project with Firebird database...I try it, and is difficult..</p>
  
  <p>My problem:</p>
  
  <ul>
  <li>I have working Firebird provider for Visual Studio 2010.</li>
  <li>I have correct database with all needed for increasing the id of the tables.</li>
  <li>I have created ASP.NET MVC 3 project, with included database, like EDMX file, with entities.</li>
  <li>When i try to insert a record into a table, there occurs a problem that says:</li>
  </ul>
  
  <blockquote>
    <p>FirebirdSql.Data.Common.IscException: violation of PRIMARY or UNIQUE KEY constraint "PK_USERS" on table "USERS"</p>
  </blockquote>
  
  <p>That means the id of the record that is created is not increased.
  I have stored procedures that must generate new id.</p>
  
  <p>My question is:<br>
  How to insert record in Firebird data table from ASP.NET?</p>