DataJuggler / DataTier.Net

DataTier.Net is an Entity Framework alternative that makes it simple to create stored procedure powered data tiers.
22 stars 3 forks source link

Blazor Integration - Add Option To Project Table To Add Data Watchers to Object Library #7

Closed DataJuggler closed 5 years ago

DataJuggler commented 5 years ago

I created a Blazor tutorial where I extended the Microsoft To Do List sample to save the values.

Since my table only had three fields, I manually added a property for a delegate to call back to a data watcher class, and if any values changed in the bound list the changes are automatically saved.

Add & Delete methods are separate from the binding functionality for now, but combined with the next two features which are to generate a Data Watcher and a Data Service Item Template.

Eventually I may create a UI designer, but baby steps.

DataJuggler commented 5 years ago

I changed the way this works.

I added a few fields to the project table:

  1. DotNetCore - bit This was already added, but it was added in the last week
  2. BindingCallbackOption - int These values are 1 - No Binding 2. Allow Binding 3. Create Bindings
  3. EnableBlazorFeatures - bit
  4. Services Folder - nvarchar(50)