From e91da9b00a0784ad7f9de45de8a06395cc0aeec3 Mon Sep 17 00:00:00 2001 From: Tomas Prokop Date: Wed, 12 Jun 2024 21:28:44 +0200 Subject: [PATCH] Updated readme --- README.md | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fd23e23..4675c2d 100644 --- a/README.md +++ b/README.md @@ -29,14 +29,39 @@ dotnet new pp-solution --SolutionDisplayName "Solutions.Presentation" --Publishe ``` ### Tables -Create a new table: +Create a new *standard* table: ```console -dotnet new pp-entity --Behavior New --PublisherPrefix "tom" --LogicalName "shiftevent" --LogicalNamePlural "shiftevents" --DisplayName "Shift Event" --DisplayNamePlural "Shift Events" --allow-scripts yes +dotnet new pp-entity ` +--Behavior New ` +--PublisherPrefix "tom" ` +--LogicalName "location" ` +--LogicalNamePlural "locations" ` +--DisplayName "Location" ` +--DisplayNamePlural "Locations" ` +--allow-scripts yes +``` + +Create a new *activity* table: +```console +dotnet new pp-entity ` +--EntityType Activity ` +--Behavior New ` +--PublisherPrefix "tom" ` +--LogicalName "shiftevent" ` +--LogicalNamePlural "shiftevents" ` +--DisplayName "Shift Event" ` +--DisplayNamePlural "Shift Events" ` +--allow-scripts yes ``` Add an existing *custom table* to a solution: ```console -dotnet new pp-entity --Behavior Existing --PublisherPrefix "tom" --LogicalName "shiftevent" --DisplayName "Shift Event" --allow-scripts yes +dotnet new pp-entity ` +--Behavior Existing ` +--PublisherPrefix "tom" ` +--LogicalName "shiftevent" ` +--DisplayName "Shift Event" ` +--allow-scripts yes ``` Add an existing *system table* to a solution: