Browse Source

docs: refresh low-code runtime screenshots

pull/25780/head
SALİH ÖZKARA 3 months ago
parent
commit
1a87771996
  1. 30
      docs/en/low-code/fluent-api.md
  2. BIN
      docs/en/low-code/images/runtime-create-form.png
  3. BIN
      docs/en/low-code/images/runtime-dashboard.png
  4. BIN
      docs/en/low-code/images/runtime-data-grid.png
  5. BIN
      docs/en/low-code/images/runtime-filters-has-value.png
  6. BIN
      docs/en/low-code/images/runtime-filters.png

30
docs/en/low-code/fluent-api.md

@ -285,17 +285,17 @@ Enum localization follows the usual ABP pattern:
| Attribute | Use it for | Key members |
|-----------|------------|-------------|
| `[DynamicPropertyUI]` | Sets the property display name | `DisplayName` |
| `[Display(Name = ...)]` | Sets the property display name with standard .NET metadata | `Name` |
| `[DynamicPropertyType]` | Overrides the inferred low-code type | `Type` |
| `[DynamicPropertyDefaultValue]` | Sets the descriptor default value | `DefaultValue` |
| `[DynamicPropertyNotMapped]` | Stores the property in the data dictionary instead of a dedicated DB field | No properties |
| `[DynamicForeignKey]` | Configures a lookup relation | `EntityName`, `DisplayPropertyName`, `Access`, `DependsOnPropertyName`, `DependsOnFilterPropertyName` |
| `[DynamicPropertySetByClients]` | Controls whether clients may write the field | `Allow` |
| `[DynamicPropertyServerOnly]` | Hides the field from clients entirely | No properties |
| `[DynamicPropertyUnique]` | Marks the field as unique | No properties |
| `[DynamicPropertyFileOptions]` | Marks the field as a file and applies upload constraints | `MaxSizeBytes`, `AllowedContentTypes` |
| `[DynamicPropertyImageOptions]` | Marks the field as an image and applies upload and resize constraints | `MaxSizeBytes`, `MaxWidth`, `MaxHeight`, `ResizeMode`, `AllowedContentTypes` |
| <code class="text-nowrap">[DynamicPropertyUI]</code> | Sets the property display name | `DisplayName` |
| <code class="text-nowrap">[Display(Name = ...)]</code> | Sets the property display name with standard .NET metadata | `Name` |
| <code class="text-nowrap">[DynamicPropertyType]</code> | Overrides the inferred low-code type | `Type` |
| <code class="text-nowrap">[DynamicPropertyDefaultValue]</code> | Sets the descriptor default value | `DefaultValue` |
| <code class="text-nowrap">[DynamicPropertyNotMapped]</code> | Stores the property in the data dictionary instead of a dedicated DB field | No properties |
| <code class="text-nowrap">[DynamicForeignKey]</code> | Configures a lookup relation | `EntityName`, `DisplayPropertyName`, `Access`, `DependsOnPropertyName`, `DependsOnFilterPropertyName` |
| <code class="text-nowrap">[DynamicPropertySetByClients]</code> | Controls whether clients may write the field | `Allow` |
| <code class="text-nowrap">[DynamicPropertyServerOnly]</code> | Hides the field from clients entirely | No properties |
| <code class="text-nowrap">[DynamicPropertyUnique]</code> | Marks the field as unique | No properties |
| <code class="text-nowrap">[DynamicPropertyFileOptions]</code> | Marks the field as a file and applies upload constraints | `MaxSizeBytes`, `AllowedContentTypes` |
| <code class="text-nowrap">[DynamicPropertyImageOptions]</code> | Marks the field as an image and applies upload and resize constraints | `MaxSizeBytes`, `MaxWidth`, `MaxHeight`, `ResizeMode`, `AllowedContentTypes` |
#### Display Names: `[DynamicPropertyUI]` and `[Display]`
@ -609,15 +609,19 @@ AbpDynamicEntityConfig.EntityConfigurations.Configure(
## EF Core Setup
Your DbContext should implement `IDbContextWithDynamicEntities` and call `ConfigureDynamicEntities()`:
Your DbContext should implement `IDbContextWithDynamicEntities` and call both `ConfigureDynamicEntities()` and `ConfigureLowCode()`.
Call `ConfigureDynamicEntities()` before `base.OnModelCreating(builder)` so dynamic entity mappings are available when ABP applies the base model conventions:
````csharp
public class CatalogDbContext : AbpDbContext<CatalogDbContext>, IDbContextWithDynamicEntities
{
protected override void OnModelCreating(ModelBuilder builder)
{
base.OnModelCreating(builder);
builder.ConfigureDynamicEntities();
base.OnModelCreating(builder);
builder.ConfigureLowCode();
}
}
````

BIN
docs/en/low-code/images/runtime-create-form.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 56 KiB

BIN
docs/en/low-code/images/runtime-dashboard.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 43 KiB

BIN
docs/en/low-code/images/runtime-data-grid.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 57 KiB

BIN
docs/en/low-code/images/runtime-filters-has-value.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 78 KiB

BIN
docs/en/low-code/images/runtime-filters.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 80 KiB

Loading…
Cancel
Save