Blazor - Master-Detail - Adding, Editing and Deleting Related Entities - Entity Framework Core

preview_player
Показать описание


In this video we learn about working with related entities in a Master-Detail relationship.
Рекомендации по теме
Комментарии
Автор

Very straightforward, very nice. Glad to see someone shows an up-to-date way to update both the parent and a child object.

paultechguy
Автор

Hi
Kindly can u make a video on how to render manually inputselect using rendertreebuilder ?

Sammy
Автор

Could you make a table for the objects in details

shahinmohaghegh
Автор

I have written code and it is rendering the inputselect but with no items in the list...


internal RenderFragment CreateCustomEditor(KeyValuePair<string, object> cEditor) => builder =>
{
if (cEditor.Value is ComboBoxEdit)
{
var c = cEditor.Value as ComboBoxEdit;

PropertyInfo prop =

builder.OpenComponent(0,

var value = prop.GetValue(mItem);

builder.AddAttribute(1, "Value", value);
builder.AddAttribute(2, "class", "form-control h-100 w-100");

builder.AddAttribute(4, "ValueChanged",

(this,
(this, __value => prop.SetValue(mItem, __value),


// Create an expression to set the ValueExpression-attribute.
var constant = System.Linq.Expressions.Expression.Constant(mItem, mItem.GetType());
var exp = System.Linq.Expressions.MemberExpression.Property(constant, c.FieldName);

var lamb =

builder.AddAttribute(5, "ValueExpression", lamb);

builder.OpenElement(6, "Option");
builder.AddAttribute(7, "Value", "Wild");
builder.AddContent(8, "Wild");
builder.CloseElement();

//builder.AddMarkupContent(6, "<option
//builder.AddMarkupContent(7, "<option

builder.CloseComponent();

@*<InputSelect Id="name" Class="form-control"
<option value="Wild">Wild</option>
<option
<option
</InputSelect>*@
}

};

Sammy
Автор

It would be of great help if you can make a Udemy video on how to create an Invoicing application that manages Inventory, Customers Credit, Customer Payments Email, Invoice, Send SMS, for sure you will have many students in the future

doorscomputersco.
Автор

Plz
We want make page master and details
For invoice sale❤
How

computerscience
Автор

biggest problem in blazor is it can return file to client and need some controller api to do that ... please learn how real time generate some file and get that file to client

mrAbbas