Professional Web Applications Themes

ANN: Linq to MySql (prototype) - MySQL

Dear group, I would like to announce a new project, Linq to MySql. "Linq" stands for "Language integrated query" in C# 3.0, and this project is basically a C# 3.0 DB driver for MySql. Project status: not production ready, looking for developers. Here is the URL: http://code2code.net/Linq_Mysql/ While I am at it, I am primarily a C# programmer and so not very strong at debugging of cryptic MySql problems. As mentioned on the project page, would any of you have an idea why would the statements: TRUNCATE TABLE Products; INSERT Products (ProductName,QuantityPerUnit) VALUES ('Pen',10); insert 2 rows, not one? This ...

Sponsored Links
  1. #1

    Default ANN: Linq to MySql (prototype)

    Dear group,
    I would like to announce a new project, Linq to MySql.
    "Linq" stands for "Language integrated query" in C# 3.0,
    and this project is basically a C# 3.0 DB driver for MySql.
    Project status: not production ready, looking for developers.
    Here is the URL:
    http://code2code.net/Linq_Mysql/


    While I am at it, I am primarily a C# programmer and so not very strong
    at debugging of cryptic MySql problems. As mentioned on the project
    page, would any of you have an idea why would the statements:
    TRUNCATE TABLE Products;
    INSERT Products (ProductName,QuantityPerUnit) VALUES ('Pen',10);
    insert 2 rows, not one? This is a bug in the project's database
    creation script.
    Thanks for any advice...
    George

    Sponsored Links
    gmoudry@gmail.com Guest

  2. #2

    Default Re: Linq to MySql (prototype)

    I have seen that problem before. You should really exit and quit Query
    Browser after truncating table...

    :) more of a Query Browser bug than a MySQL Server bug. Are you using
    latest 1.2.6 BETA QB GUI-TOOL?



    Jared Guest

  3. #3

    Default Re: Linq to MySql (prototype)

    Jared wrote:
     

    Doesn't seem to be reported. Jared, could you file a bug report with
    the necessary details? http://bugs.mysql.com

    Mike
    --
    www.mysql.com
    Mike Guest

  4. #4

    Default Re: Linq to MySql (prototype)

    Darn - it's intermittent. I prepared a little script which reproduces
    it, and before submitting this post, I decided to try it on my machine
    one more time. Sure enough - it stopped misbehaving, now it only
    inserts one row, as I expect.

    /* ================================================
    == (Sometimes) inserts two rows instead of one,
    == when using MySql query browser 1.1.20 (Mysql version
    '5.0.22-community-nt'). */
    CREATE TABLE T1 (
    `tID` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
    `a` INTEGER, `b` INTEGER, PRIMARY KEY(`tID`) );
    TRUNCATE TABLE T1;
    INSERT T1 (a,b) VALUES (11,12);

    Mike Lischke wrote:
     
    >
    > Doesn't seem to be reported. Jared, could you file a bug report with
    > the necessary details? http://bugs.mysql.com
    >
    > Mike
    > --
    > www.mysql.com[/ref]

    gmoudry@gmail.com Guest

  5. #5

    Default Re: Linq to MySql (prototype)

    Download latest objects


    Jared Guest

Similar Threads

  1. Checking prototype with objects
    By Hazael in forum PERL Beginners
    Replies: 5
    Last Post: February 16th, 06:11 PM
  2. MovieClip.prototype - movement
    By g_watt webforumsuser@macromedia.com in forum Macromedia Flash Actionscript
    Replies: 0
    Last Post: January 20th, 06:31 PM
  3. MX when to assign the prototype for a class
    By Gert Kok in forum Macromedia Flash Actionscript
    Replies: 0
    Last Post: January 20th, 07:36 AM
  4. Movieclip.prototype.status
    By News.CIS.DFN.DE in forum Macromedia Flash
    Replies: 4
    Last Post: October 14th, 10:51 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139