Skip to content

Bulk edit DB rows using Entity Framework #201

Closed

Description

@itg-assistant

Rudy asked 2016-08-18 00:32:23 UTC

Hi, congrats, I think WiseJ will be a really cool product and exactly what I was waiting for.

I have a lot of DB tables where I need to bulk edit some of the columns. Some columns should be read only and others hidden from the user. I use EF to access the DB. After editing is complete, the changes should be saved back to the DB by pressing a save button. Is there any simple way to do this using WiseJ? Is there any sample project available that shows me how to do this?

Best Regards
Rudy

Activity

  1. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2016-08-18 21:26:17 UTC

    Hi Rudy,

    I have a data binding sample using EF6 that is ready but not piblished. I will send it on Monday when I'm back in the office.

    I general you can bind a datagridview using EF as you would do in a winforms app. When you edit a cell, the data is automatically updated in the corresponding EF item. When you click save you simply update and commit the EF database context.

    Columns can be hidden at design time or runtime.

    Best,

    Luca

  2. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Rudy answered 2016-08-18 23:19:08 UTC

    Thanks Luca, a sample would be great.

    Have a good weekend
    Regards Rudy

  3. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Birol SARI answered 2016-09-05 10:57:29 UTC

    I want to the same sample :)

  4. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Frank (ITG) answered 2016-09-06 07:17:53 UTC

    Hi Rudy, Birol,

    sorry for the delay. We have set up a sample using EF that illustrates bulk edits.

    You can view a screencast here: http://www.screencast.com/t/22soZ3T39u

    Download the sample here: http://s3.amazonaws.com/wisej/support/attachments/Wisej.EFDataBinding.zip

    Please make sure to use the latest Wisej beta build.

    Best regards
    Frank

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GeneralQuestions, how-tos and everything else.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions