Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Remove unnecessary loop and fix indentation of foreign key SQL fragments. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | VsDesignerFKey |
Files: | files | file ages | folders |
SHA1: |
1119da4703ba5e9b2ae4f7f8f01dffc9 |
User & Date: | mistachkin 2012-01-25 18:10:54.266 |
Context
2012-01-25
| ||
18:17 | When emitting SQL for foreign keys in the VS designer, be sure to take all returned rows into account. Fix for [b226147b37]. check-in: 38cd99987c user: mistachkin tags: trunk | |
18:10 | Remove unnecessary loop and fix indentation of foreign key SQL fragments. Closed-Leaf check-in: 1119da4703 user: mistachkin tags: VsDesignerFKey | |
13:37 | More work on fixing ticket [b226147b37]. check-in: e67a436c40 user: mistachkin tags: VsDesignerFKey | |
Changes
Changes to SQLite.Designer/Design/Table.cs.
︙ | |||
405 406 407 408 409 410 411 | 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 | - - - - - - - - - + - + | break; } } builder.Append(separator); builder.AppendFormat("CONSTRAINT [CK_{0}_{1}] CHECK {2}", Name, n + 1, check); } |
︙ | |||
485 486 487 488 489 490 491 | 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 | - + | private void WriteFKeys(List<ForeignKey> keys, StringBuilder builder) { for (int index = 0; index < keys.Count; ) { ForeignKey key = keys[index]; if (index > 0) |
︙ |