I don't know how to add the test case threfore I'm placing my bug
report here:

  steps to reproduce on Windows:

  1. generate file:
        $dblinq_dir$\src\BuildPqNorthwindWithError.bat
  containing:
    DbMetal\bin\DbMetal.exe /database=Northwind /schema /
server=localhost /user=LinqUser /password=linq2 /namespace=nwind /
sprocs /entityInterfaces= /culture="en" /code=..\examples
\DbLinq.Pgsql.Example\nwind\NorthwindWithError.cs  /
provider=PostgreSQL /
renamesFile="BuildPqNorthwindWithErrorRenamings.xml"

  2. generate file:
    $dblinq_dir$\src\BuildPqNorthwindWithErrorRenamings.xml"
  containing:
    <?xml version="1.0"?>
    <Renamings>
      <Renaming old="CategoryID" new="CategoryID" />
    </Renamings>
  3. run batch
     $dblinq_dir$\src\BuildPqNorthwindWithError.bat


  result:
    file:
        $dblinq_dir$\examples\DbLinq.Pgsql.Example\nwind
\NorthwindWithError.cs
        contains:
        ...
        [Table(Name = "public.\"Categories\"")]
        public partial class Categories
        {
                #region  CategoryID
                private  _categoryID;  // <-- ERROR missing 'int' !
                [DebuggerNonUserCode]
                [Column(Storage = "_categoryID", Name = "\"CategoryID\"", 
DbType =
"integer(32,0)", IsPrimaryKey = true, IsDbGenerated = true, CanBeNull
= false, Expression = "nextval('\"Categories_CategoryID_seq\"')")]
                public  CategoryID     // <-- ERROR missing 'int' !
    ...


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DbLinq" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/dblinq?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to