Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement of the table maintenance screen auto generation. #33

Closed
daisukenishino opened this issue Jul 24, 2014 · 1 comment
Closed
Labels
enhancement New feature or request

Comments

@daisukenishino
Copy link
Contributor

I did the following modifications, please PULL(Or Fetch & Marge).

3d17c62

Can be add related check processing by this modify.
The meaning of "Related check" is a check using the information in the DB.

Inherit the _3TierEngine and Override the UOC_RelatedCheck.
Implement the related check processing to UOC_RelatedCheck.
And change the tableadapter code that generated by table maintenance screen auto generation tool.

Like this.

 // B層を生成
 // _3TierEngine b = new _3TierEngine();
 // XXXX class is inherit the _3TierEngine and override the UOC_RelatedCheck.
 XXXX b = new XXXX();

In addition, When multiple DB support is complete then please delete the following code.

https://github.com/OpenTouryoProject/OpenTouryo/blob/develop/root/files/tools/DGenTemplates/ConditionalSearch.aspx#L9

Modify to support by selection of data provider on automatic generation tool.

https://github.com/OpenTouryoProject/OpenTouryo/blob/develop/root/files/tools/DGenTemplates/ConditionalSearch.aspx.cs#L92

This is necessary to change the auto-generated templates and tools.

Finally, Change the tutorial of automatic screen generation.

  • Multiple DB support.
  • Implementation of the "Related check".
    (Tutorial_Automatic Screen Generation_EN.doc)

https://github.com/OpenTouryoProject/OpenTouryoDocuments/tree/master/documents/2_Tutorial/en

@daisukenishino
Copy link
Contributor Author

Reflect to tutorial

I've checked the tutorial.
I want you to describe how to add or reduce the search condition.

Document

  • 3.2.4 Change foreign key of the Products table fields to ComboBox.
  • 3.2.5 How to add or reduce the search condition.
  • 3.2.6 Operation Verification of Products table Maintenance Screen.

Program

  • Reduce
    • Delete the existing search condition text box on the screen.
    • Delete that Code of Add a search condition to Dictionary <string, string []> xxxxSearchConditions.
  • Add
    • Add the new search condition text box on the screen.
    • Add that Code of Add a search condition to Dictionary <string, string []> ElseSearchConditions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant