示例#1
0
 public override void AddNewRow()
 {
     this.SelectedRowItemForEdit = NomenclaturesFactory.GetEmptyProductDto(this.ProductType);
     base.AddNewRow();
 }
示例#2
0
 protected override async Task OnInitializedAsync()
 {
     this.editPlaceHolder        = NomenclaturesFactory.GetEmptyProductDto(this.ProductType);
     this.SelectedRowItemForEdit = this.editPlaceHolder;
     this.TableItems             = await this.ProductService.GetAllAsync(this.ProductType);
 }