From 57d8072e6c582f864b7c93398e632d3c3739ed7a Mon Sep 17 00:00:00 2001
From: ljlclark <35316538+ljlclark@users.noreply.github.com>
Date: Thu, 28 Dec 2023 03:51:57 +0800
Subject: [PATCH] GenDoc Updates
---
.../LJCDBClientLib/Doc/DataManager.xml | 51 +------------------
.../LJCDBClientLib/LJCDBClientLib.csproj | 1 -
.../LJCGenDoc/LJCGenDoc/LJCGenDoc.csproj | 2 -
.../LJCGenDoc/LJCGenDocLib/GenAssembly.cs | 2 +-
.../LJCGenDoc/LJCGenDocLib/GenType.cs | 3 +-
5 files changed, 4 insertions(+), 55 deletions(-)
diff --git a/CoreAssemblies/LJCDBClientLib/LJCDBClientLib/Doc/DataManager.xml b/CoreAssemblies/LJCDBClientLib/LJCDBClientLib/Doc/DataManager.xml
index dc848f6a..b5bfde2b 100644
--- a/CoreAssemblies/LJCDBClientLib/LJCDBClientLib/Doc/DataManager.xml
+++ b/CoreAssemblies/LJCDBClientLib/LJCDBClientLib/Doc/DataManager.xml
@@ -8,61 +8,12 @@
Provides standard message data manipulation methods.
(DE)
+ Overview
-
- The Data Manager is the client code that creates a table specific
- <span class="userType">LJCDBMessage.DbRequest</span>
- object. It then serializes the
- <span class="userType">DbRequest</span>
- object into a Request XML message to pass to the
- <span class="userType">LJCDBServiceLib.DbService.Execute()</span>
- method or directly to the
- <span class="commonType">LJCDBDataAccess.DbDataAccess.Execute()</span>
- method.
-
-
- The DataManager object creates the contained BaseDefinition collection
- when the DataManager is created. The BaseDefinition is an
- <span class="commonType">LJCNetCommon.DbColumns</span>
- collection which contains the column definitions for the base table. Each
- element
- <span class="userType">DbColumn</span>
- contains the table ColumnName, PropertyName, Caption, DataTypeName and
- MaxLength. These column definitions are retrieved from the database.
-
-
- The contained DataDefinition collection is also created at this time. This
- enables adding Calculated and Join columns to a grid columns configuration.
-
-
- The
- <span class="commonType">DbColumn.Caption</span>
- is initially set to the same value as the ColumnName as that is how it is
- returned from ADO.NET. The PropertyName is initially set to the same value
- as the ColumnName if the
- <span class="userType">DbColumn</span>
- is initialized with a blank PropertyName value. These values can be modified
- later as required.
-
-
- The BaseDefinition is used to create the
- <span class="userType">DbColumn</span>
- objects that are defined in a
- <span class="userType">DbRequest</span>
- object. These objects are then used to create the SQL Statements that are
- executed to perform the requested data operation.
-
The Data methods are Add(), Delete(), ExecuteClientSql(), Load,
LoadProcedure(), Retrieve() and Update().
-
- The Data methods create a
- <span class="userType">DbRequest</span>
- object and pass it to the
- <span class="commonType">ExecuteRequest()</span>
- method.
-
diff --git a/CoreAssemblies/LJCDBClientLib/LJCDBClientLib/LJCDBClientLib.csproj b/CoreAssemblies/LJCDBClientLib/LJCDBClientLib/LJCDBClientLib.csproj
index cfe4f0e6..746eb04e 100644
--- a/CoreAssemblies/LJCDBClientLib/LJCDBClientLib/LJCDBClientLib.csproj
+++ b/CoreAssemblies/LJCDBClientLib/LJCDBClientLib/LJCDBClientLib.csproj
@@ -96,7 +96,6 @@
Designer
-
diff --git a/CoreUtilities/LJCGenDoc/LJCGenDoc/LJCGenDoc.csproj b/CoreUtilities/LJCGenDoc/LJCGenDoc/LJCGenDoc.csproj
index 959e8a8e..8dc44662 100644
--- a/CoreUtilities/LJCGenDoc/LJCGenDoc/LJCGenDoc.csproj
+++ b/CoreUtilities/LJCGenDoc/LJCGenDoc/LJCGenDoc.csproj
@@ -80,7 +80,6 @@
-
@@ -104,7 +103,6 @@
-
diff --git a/CoreUtilities/LJCGenDoc/LJCGenDocLib/GenAssembly.cs b/CoreUtilities/LJCGenDoc/LJCGenDocLib/GenAssembly.cs
index 02c19968..1e6663b8 100644
--- a/CoreUtilities/LJCGenDoc/LJCGenDocLib/GenAssembly.cs
+++ b/CoreUtilities/LJCGenDoc/LJCGenDocLib/GenAssembly.cs
@@ -54,7 +54,7 @@ CreateAssemblyXml createAssemblyXml
else
{
// Testing
- //if ("LJCNetCommon" == dataAssembly.Name)
+ //if ("LJCDBClientLib" == dataAssembly.Name)
//{
// NetFile.CreateFolder("XMLFiles");
// File.WriteAllText(dataFileSpec, dataXml);
diff --git a/CoreUtilities/LJCGenDoc/LJCGenDocLib/GenType.cs b/CoreUtilities/LJCGenDoc/LJCGenDocLib/GenType.cs
index 500cc8d4..48d35c92 100644
--- a/CoreUtilities/LJCGenDoc/LJCGenDocLib/GenType.cs
+++ b/CoreUtilities/LJCGenDoc/LJCGenDocLib/GenType.cs
@@ -96,7 +96,8 @@ public void GenTypePage(string[] templateLines)
else
{
// Testing
- //if ("NetCommon" == DataType.Name)
+ //if ("DataAccess" == DataType.Name
+ // || "DataManager" == DataType.Name)
//{
// NetFile.CreateFolder("XMLFiles");
// File.WriteAllText(dataFileSpec, dataXml);