Bulk edit DB rows using Entity Framework

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
Answered
0
0

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

  • You must to post comments
Best Answer
0
0

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

  • You must to post comments
0
0

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

  • You must to post comments
0
0

I want to the same sample 🙂

  • You must to post comments
0
0

Thanks Luca, a sample would be great.

Have a good weekend
Regards Rudy

  • You must to post comments
Showing 4 results
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 5, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json