1.2.11.13 Db Schema comparison
This commit is contained in:
@@ -247,7 +247,7 @@ namespace Saxonite.Net.Core.Web.Base.Procs
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
SaLogger.Warn(SysUtil.Fn + " " + ExceptionUtil.GetLogMessage(exc, "populating USGA request data", 0));
|
||||
SaLogger.Warn(SysUtil.Fn + " " + ExceptionUtil.GetLogMessage(exc, "populating USGA request data", 8));
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
@@ -272,7 +272,7 @@ namespace Saxonite.Net.Core.Web.Base.Procs
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
SaLogger.Warn(SysUtil.Fn + " " + ExceptionUtil.GetLogMessage(exc, "querying USGA request data", 0));
|
||||
SaLogger.Warn(SysUtil.Fn + " " + ExceptionUtil.GetLogMessage(exc, "querying USGA request data", 8));
|
||||
}
|
||||
}
|
||||
return usgaRequestData;
|
||||
@@ -341,7 +341,7 @@ namespace Saxonite.Net.Core.Web.Base.Procs
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
SaLogger.Warn(SysUtil.Fn + " " + ExceptionUtil.GetLogMessage(exc, "querying USGA countries", 0));
|
||||
SaLogger.Warn(SysUtil.Fn + " " + ExceptionUtil.GetLogMessage(exc, "querying USGA countries", 8));
|
||||
}
|
||||
return usgaCountries;
|
||||
}
|
||||
@@ -441,8 +441,7 @@ namespace Saxonite.Net.Core.Web.Base.Procs
|
||||
provinceData.ProvinceName = usgaProvince.Name;
|
||||
provincesData.Add(provinceData);
|
||||
}
|
||||
ReferenceGolfMgr.BulkUpdateUsgaProvinces(provincesData, DbUpdateInfo);
|
||||
if (!ReferenceGolfMgr.HasErrorState())
|
||||
if (ReferenceGolfMgr.BulkUpdateUsgaProvinces(provincesData, DbUpdateInfo))
|
||||
{
|
||||
// Provinces stored OK = update Country.
|
||||
usgaCountry.ProvincesUpdateAt = DateTime.Now;
|
||||
@@ -454,7 +453,7 @@ namespace Saxonite.Net.Core.Web.Base.Procs
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
SaLogger.Warn(SysUtil.Fn + " " + ExceptionUtil.GetLogMessage(exc, $"querying USGA provinces for {countryCode}", 0));
|
||||
SaLogger.Warn(SysUtil.Fn + " " + ExceptionUtil.GetLogMessage(exc, $"querying USGA provinces for {countryCode}", 8));
|
||||
}
|
||||
}
|
||||
return usgaProvinces;
|
||||
@@ -662,8 +661,7 @@ namespace Saxonite.Net.Core.Web.Base.Procs
|
||||
}
|
||||
coursesData[courseData.UsgaCourseId] = courseData;
|
||||
}
|
||||
ReferenceGolfMgr.BulkUpdateUsgaCourses(coursesData.Values.ToList(), DbUpdateInfo);
|
||||
if (!ReferenceGolfMgr.HasErrorState())
|
||||
if (ReferenceGolfMgr.BulkUpdateUsgaCourses(coursesData.Values.ToList(), DbUpdateInfo))
|
||||
{
|
||||
// Courses stored OK - update Province.
|
||||
usgaProvince.CoursesUpdateAt = DateTime.Now;
|
||||
@@ -675,7 +673,7 @@ namespace Saxonite.Net.Core.Web.Base.Procs
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
SaLogger.Warn(SysUtil.Fn + " " + ExceptionUtil.GetLogMessage(exc, $"querying USGA courses for {countryCode}", 0));
|
||||
SaLogger.Warn(SysUtil.Fn + " " + ExceptionUtil.GetLogMessage(exc, $"querying USGA courses for {countryCode}", 8));
|
||||
}
|
||||
}
|
||||
return usgaCourses;
|
||||
@@ -1081,8 +1079,7 @@ namespace Saxonite.Net.Core.Web.Base.Procs
|
||||
markerData.Length = usgaMarker.Length;
|
||||
markersUpdateData.Add(markerData);
|
||||
}
|
||||
ReferenceGolfMgr.BulkUpdateUsgaMarkers(markersUpdateData, DbUpdateInfo);
|
||||
if (!ReferenceGolfMgr.HasErrorState())
|
||||
if (ReferenceGolfMgr.BulkUpdateUsgaMarkers(markersUpdateData, DbUpdateInfo))
|
||||
{
|
||||
// Markers stored OK - update Course.
|
||||
if (markersData.Markers.Any())
|
||||
@@ -1096,7 +1093,7 @@ namespace Saxonite.Net.Core.Web.Base.Procs
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
SaLogger.Warn(SysUtil.Fn + " " + ExceptionUtil.GetLogMessage(exc, $"querying USGA markers for course Id: {usgaCourseId}", 0));
|
||||
SaLogger.Warn(SysUtil.Fn + " " + ExceptionUtil.GetLogMessage(exc, $"querying USGA markers for course Id: {usgaCourseId}", 8));
|
||||
}
|
||||
}
|
||||
return markersData.Markers;
|
||||
|
||||
@@ -116,6 +116,7 @@ namespace Saxonite.Net.Core.Web.Admin.Controllers.System
|
||||
private class DbSchemaItemResponseData
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public String SchemaName { get; set; }
|
||||
public String TableName { get; set; }
|
||||
public String ColumnName { get; set; }
|
||||
public int ColumnPosition { get; set; }
|
||||
@@ -185,6 +186,7 @@ namespace Saxonite.Net.Core.Web.Admin.Controllers.System
|
||||
DbSchemaItemResponseData item = new DbSchemaItemResponseData()
|
||||
{
|
||||
Id = schemaComparisonItem.Id,
|
||||
SchemaName = schemaComparisonItem.SchemaName,
|
||||
TableName = schemaComparisonItem.TableName,
|
||||
ColumnName = schemaComparisonItem.ColumnName,
|
||||
ColumnPosition = schemaComparisonItem.ColumnPosition,
|
||||
|
||||
@@ -294,6 +294,9 @@
|
||||
<data name="label.columns" xml:space="preserve">
|
||||
<value>Columns</value>
|
||||
</data>
|
||||
<data name="label.comment" xml:space="preserve">
|
||||
<value>Comment</value>
|
||||
</data>
|
||||
<data name="label.contact" xml:space="preserve">
|
||||
<value>Contact</value>
|
||||
</data>
|
||||
@@ -312,9 +315,6 @@
|
||||
<data name="label.course" xml:space="preserve">
|
||||
<value>Course</value>
|
||||
</data>
|
||||
<data name="label.course.id" xml:space="preserve">
|
||||
<value>Course Id</value>
|
||||
</data>
|
||||
<data name="label.courses" xml:space="preserve">
|
||||
<value>Courses</value>
|
||||
</data>
|
||||
@@ -396,6 +396,9 @@
|
||||
<data name="label.holes" xml:space="preserve">
|
||||
<value>Holes</value>
|
||||
</data>
|
||||
<data name="label.id" xml:space="preserve">
|
||||
<value>Id</value>
|
||||
</data>
|
||||
<data name="label.image" xml:space="preserve">
|
||||
<value>Image</value>
|
||||
</data>
|
||||
@@ -564,6 +567,9 @@
|
||||
<data name="label.rows" xml:space="preserve">
|
||||
<value>Rows</value>
|
||||
</data>
|
||||
<data name="label.schema" xml:space="preserve">
|
||||
<value>Schema</value>
|
||||
</data>
|
||||
<data name="label.search" xml:space="preserve">
|
||||
<value>Search</value>
|
||||
</data>
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
min-width: 80px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
table.sax-item-stats tr:hover .sax-value
|
||||
{
|
||||
text-decoration: underline;
|
||||
@@ -58,6 +59,22 @@
|
||||
<input type="hidden" name="DatabaseFilter.Instance" class="DatabaseInstance" />
|
||||
}
|
||||
|
||||
<style>
|
||||
.sax-panel-results .sax-panel-info.DbSchema > .sax-content
|
||||
{
|
||||
max-height: auto;
|
||||
}
|
||||
.sax-panel-results .sax-panel-info.DbSchema .sax-panel-messages
|
||||
{
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.sax-panel-results .sax-panel-info.DbSchema table.sax-item-list thead tr th
|
||||
{
|
||||
background-color: #ffc8c7;
|
||||
}
|
||||
</style>
|
||||
|
||||
@* Database Schema Verification *@
|
||||
<div class="sax-panel-info sax-panel-results">
|
||||
|
||||
@@ -68,55 +85,55 @@
|
||||
|
||||
@* Database Schema - Core *@
|
||||
<div class="sax-panel-info DbSchema Core">
|
||||
|
||||
<div class="sax-header">
|
||||
<div class="sax-caption">@Localiser["system.caption.database.core"]</div>
|
||||
</div>
|
||||
<div style="padding:4px 8px;">
|
||||
<div class="sax-panel-messages"></div>
|
||||
<div class="sax-panel-item-list"></div>
|
||||
</div>
|
||||
|
||||
<div class="sax-panel-messages"></div>
|
||||
</div>
|
||||
|
||||
@* Database Schema - Reference *@
|
||||
<div class="sax-panel-info DbSchema Reference">
|
||||
|
||||
<div class="sax-header">
|
||||
<div class="sax-caption">@Localiser["system.caption.database.reference"]</div>
|
||||
</div>
|
||||
<div style="padding:4px 8px;">
|
||||
<div class="sax-panel-messages"></div>
|
||||
<div class="sax-panel-item-list"></div>
|
||||
</div>
|
||||
|
||||
<div class="sax-panel-messages"></div>
|
||||
</div>
|
||||
|
||||
@* Database Schema - Reference *@
|
||||
<div class="sax-panel-info DbSchema Support">
|
||||
|
||||
<div class="sax-header">
|
||||
<div class="sax-caption">@Localiser["system.caption.database.support"]</div>
|
||||
</div>
|
||||
<div style="padding:4px 8px;">
|
||||
<div class="sax-panel-messages"></div>
|
||||
<div class="sax-panel-item-list"></div>
|
||||
</div>
|
||||
|
||||
<div class="sax-panel-messages"></div>
|
||||
</div>
|
||||
|
||||
@* Db Schema templates *@
|
||||
<div class="sax-panel-item-template">
|
||||
@* Db Schema templates *@
|
||||
<div class="sax-panel-item DbSchemaItem">
|
||||
<div class="sax-header">
|
||||
<div class="sax-caption SchemaTable">@(Localiser["label.table"]): <span class="TableName"></span></div>
|
||||
</div>
|
||||
<div class="sax-content">
|
||||
<div class="SchemaIndex">@(Localiser["label.index"]): <span class="IndexName"></span></div>
|
||||
<div class="SchemaColumn">@(Localiser["label.column"]): <span class="ColumnName"></span></div>
|
||||
<div class=""><span class="Comment"></span></div>
|
||||
</div>
|
||||
@* Db Schema table template *@
|
||||
<div class="sax-panel-item-table DbSchema hidden" style="min-height:48px;max-height:240px;overflow-y:auto;">
|
||||
<table class="sax-item-list">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="">@Localiser["label.schema"]</th>
|
||||
<th class="">@Localiser["label.table"]</th>
|
||||
<th class="">@Localiser["label.column"]</th>
|
||||
<th class="">@Localiser["label.index"]</th>
|
||||
<th class="">@Localiser["label.comment"]</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody></tbody>
|
||||
</table>
|
||||
</div>
|
||||
@* Db Schema Item row *@
|
||||
<table>
|
||||
<tr class="sax-row-item DbSchemaItem">
|
||||
<td class=""><div class="SchemaName"></div></td>
|
||||
<td class=""><div class="TableName"></div></td>
|
||||
<td class=""><div class="ColumnName"></div></td>
|
||||
<td class=""><div class="IndexName"></div></td>
|
||||
<td class=""><div class="Comment"></div></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -106,16 +106,16 @@
|
||||
</div>
|
||||
<div class="sax-panel-item-template">
|
||||
<table>
|
||||
<tr class="sax-item GolfCountry">
|
||||
<td class="center"><div class="CountryCode"></div></td>
|
||||
<td class=""><div class="CountryName"></div></td>
|
||||
<td class="center"><div class="CountryPriority"></div></td>
|
||||
<td class="center"><div class="CountryProvinces"></div></td>
|
||||
<td class="center"><div class="CountryClubs"></div></td>
|
||||
<td class="center"><div class="CountryClubsPercent"></div></td>
|
||||
<td class="center"><div class="CountryStatus"></div></td>
|
||||
</tr>
|
||||
</table>
|
||||
<tr class="sax-item GolfCountry">
|
||||
<td class="center"><div class="CountryCode"></div></td>
|
||||
<td class=""><div class="CountryName"></div></td>
|
||||
<td class="center"><div class="CountryPriority"></div></td>
|
||||
<td class="center"><div class="CountryProvinces"></div></td>
|
||||
<td class="center"><div class="CountryClubs"></div></td>
|
||||
<td class="center"><div class="CountryClubsPercent"></div></td>
|
||||
<td class="center"><div class="CountryStatus"></div></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
@@ -154,16 +154,16 @@
|
||||
</div>
|
||||
<div class="sax-panel-item-template">
|
||||
<table>
|
||||
<tr class="sax-item GolfProvince">
|
||||
<td class="center"><div class="ProvinceCode"></div></td>
|
||||
<td class=""><div class="ProvinceName"></div></td>
|
||||
<td class="center"><div class="ProvincePriority"></div></td>
|
||||
<td class="center"><div class="ProvinceClubs"></div></td>
|
||||
<td class="center"><div class="ProvinceCourses"></div></td>
|
||||
<td class="center"><div class="ProvinceMarkers"></div></td>
|
||||
<td class="center"><div class="ProvinceStatus"></div></td>
|
||||
</tr>
|
||||
</table>
|
||||
<tr class="sax-item GolfProvince">
|
||||
<td class="center"><div class="ProvinceCode"></div></td>
|
||||
<td class=""><div class="ProvinceName"></div></td>
|
||||
<td class="center"><div class="ProvincePriority"></div></td>
|
||||
<td class="center"><div class="ProvinceClubs"></div></td>
|
||||
<td class="center"><div class="ProvinceCourses"></div></td>
|
||||
<td class="center"><div class="ProvinceMarkers"></div></td>
|
||||
<td class="center"><div class="ProvinceStatus"></div></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
@@ -198,9 +198,9 @@
|
||||
<table class="sax-item-list">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="center">@Localiser["label.course.id"]</th>
|
||||
<th class="center">@Localiser["label.id"]</th>
|
||||
<th class="">@Localiser["label.caption"]</th>
|
||||
<th class="center">@Localiser["label.location"]</th>
|
||||
<th class="">@Localiser["label.location"]</th>
|
||||
<th class="center">@Localiser["label.priority"]</th>
|
||||
<th class="center">@Localiser["label.markers"]</th>
|
||||
<th class="center">@Localiser["label.status"]</th>
|
||||
@@ -215,7 +215,7 @@
|
||||
<tr class="sax-item GolfCourse">
|
||||
<td class="center"><div class="CourseId"></div></td>
|
||||
<td class=""><div class="CourseCaption"></div></td>
|
||||
<td class="center"><div class="CourseLocation"></div></td>
|
||||
<td class=""><div class="CourseLocation"></div></td>
|
||||
<td class="center"><div class="CoursePriority"></div></td>
|
||||
<td class="center"><div class="CourseMarkers"></div></td>
|
||||
<td class="center"><div class="CourseStatus"></div></td>
|
||||
@@ -267,20 +267,20 @@
|
||||
</table>
|
||||
</div>
|
||||
<div class="sax-panel-item-template">
|
||||
<table>
|
||||
<tr class="sax-item GolfMarker">
|
||||
<td class="pl-2"><div class="MarkerCaption"></div></td>
|
||||
<td class="center"><div class="MarkerHoles"></div></td>
|
||||
<td class="center"><div class="MarkerTee"></div></td>
|
||||
<td class="center"><div class="MarkerGender"></div></td>
|
||||
<td class="center"><div class="MarkerSlope"></div></td>
|
||||
<td class="center"><div class="MarkerPar"></div></td>
|
||||
<td class="center"><div class="MarkerCourse"></div></td>
|
||||
<td class="center"><div class="MarkerBogey"></div></td>
|
||||
<td class="center"><div class="MarkerLength"></div></td>
|
||||
<td class="center"><div class="MarkerStatus"></div></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table>
|
||||
<tr class="sax-item GolfMarker">
|
||||
<td class="pl-2"><div class="MarkerCaption"></div></td>
|
||||
<td class="center"><div class="MarkerHoles"></div></td>
|
||||
<td class="center"><div class="MarkerTee"></div></td>
|
||||
<td class="center"><div class="MarkerGender"></div></td>
|
||||
<td class="center"><div class="MarkerSlope"></div></td>
|
||||
<td class="center"><div class="MarkerPar"></div></td>
|
||||
<td class="center"><div class="MarkerCourse"></div></td>
|
||||
<td class="center"><div class="MarkerBogey"></div></td>
|
||||
<td class="center"><div class="MarkerLength"></div></td>
|
||||
<td class="center"><div class="MarkerStatus"></div></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
|
||||
@@ -85,9 +85,11 @@
|
||||
{
|
||||
//sax.debug('handleDbSchemaResponse', response);
|
||||
delete ah.awaitingSchemaResponse;
|
||||
let $pnlSchema = $('.sax-panel-results .sax-panel-info.DbSchema.' + response.instance) ;
|
||||
let $pnlSchema = $('.sax-panel-results .sax-panel-info.DbSchema.' + response.instance);
|
||||
var $msgs = $('.sax-panel-messages', $pnlSchema).hide().empty();
|
||||
var $items = $('.sax-panel-item-list', $pnlSchema).hide().empty();
|
||||
var $tablePanel = $('.sax-panel-item-table', $pnlSchema).hide();
|
||||
var $table = $('table.sax-item-list', $tablePanel);
|
||||
$('tbody tr', $table).remove();
|
||||
if (!response.success) return;
|
||||
if (response.instance == 'Core') ah.toSchema = setTimeout(function () { ah.refreshDbSchema('Reference'); }, 250);
|
||||
if (response.instance == 'Reference') ah.toSchema = setTimeout(function () { ah.refreshDbSchema('Support'); }, 250);
|
||||
@@ -95,24 +97,26 @@
|
||||
var items = response.items;
|
||||
if (!items.length)
|
||||
return $msgs.append($('<div class="sax-message">' + sax.msg.dbSchemaValid + '</div>')).fadeIn(500);
|
||||
//sax.debug(ah.getDbSchemaTemplate());
|
||||
for (let itemIdx = 0; itemIdx < items.length; itemIdx++)
|
||||
$items.append(ah.populateDbSchemaItem(ah.getDbSchemaTemplate(), items[itemIdx]));
|
||||
$items.slideDown(750);
|
||||
$table.append(ah.populateDbSchemaItem(ah.getDbSchemaRowTemplate(), items[itemIdx]));
|
||||
$tablePanel.show();
|
||||
}
|
||||
ah.getDbSchemaTemplate = function ()
|
||||
ah.getDbSchemaTableTemplate = function ()
|
||||
{
|
||||
return $('.sax-panel-results .sax-panel-item-template .sax-panel-item.DbSchemaItem').clone();
|
||||
return $('.sax-panel-results .sax-panel-item-template .sax-panel-item-table.DbSchema').clone();
|
||||
}
|
||||
ah.getDbSchemaRowTemplate = function ()
|
||||
{
|
||||
return $('.sax-panel-results .sax-panel-item-template .sax-row-item.DbSchemaItem').clone();
|
||||
}
|
||||
ah.populateDbSchemaItem = function ($item, item)
|
||||
{
|
||||
if (!item) return;
|
||||
$item.prop('id', sax.itemIdPrefix + item.id);
|
||||
$('.SchemaName', $item).text(item.schemaName);
|
||||
$('.TableName', $item).text(item.tableName);
|
||||
$('.IndexName', $item).text(item.indexName);
|
||||
$('.SchemaIndex', $item).toggle(!!item.indexName);
|
||||
$('.ColumnName', $item).text(item.columnName);
|
||||
$('.SchemaColumn', $item).toggle(!!item.columnName);
|
||||
$('.Comment', $item).text(item.comment);
|
||||
return $item;
|
||||
}
|
||||
@@ -122,9 +126,9 @@
|
||||
{
|
||||
$pnl.appStats = $('.sax-panel-results.ApplicationStats');
|
||||
$frm.dbSchema = $('#frmDatabaseSchema');
|
||||
$pnl.dbSchemaCore = $('.sax-panel-results.DbSchema.Core');
|
||||
$pnl.dbSchemaReference = $('.sax-panel-results.DbSchema.Reference');
|
||||
$pnl.dbSchemaSupport = $('.sax-panel-results.DbSchema.Support');
|
||||
$pnl.dbSchemaCore = $('.sax-panel-info.DbSchema.Core').append(ah.getDbSchemaTableTemplate());
|
||||
$pnl.dbSchemaReference = $('.sax-panel-info.DbSchema.Reference'); $pnl.dbSchemaReference.append(ah.getDbSchemaTableTemplate());
|
||||
$pnl.dbSchemaSupport = $('.sax-panel-info.DbSchema.Support').append(ah.getDbSchemaTableTemplate());
|
||||
|
||||
ah.toStats = setTimeout(ah.refreshApplicationStats, 400);
|
||||
ah.toSchema = setTimeout(function () { ah.refreshDbSchema('Core'); }, 600);
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace Saxonite.Net.Standard.Base.App
|
||||
//-------------------------------------------------------------------
|
||||
public static class Version
|
||||
{
|
||||
private static String version { get; } = "1.2.11.12";
|
||||
private static String version { get; } = "1.2.11.13";
|
||||
// Retrieve version.
|
||||
public static String GetFullVersion () { return version; }
|
||||
public static String GetAppVersion ()
|
||||
|
||||
@@ -6,7 +6,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:16
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Base.App
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:17
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Base.App
|
||||
{
|
||||
@@ -399,8 +399,8 @@ namespace Saxonite.Base.App
|
||||
new ColumnDfn(4,"UsgaMarkerId",5,-5,false,19),
|
||||
new ColumnDfn(4,"Caption",0,-9,false,200),
|
||||
new ColumnDfn(4,"Holes",3,5,false,5),
|
||||
new ColumnDfn(4,"HolesCaption",0,-9,false,32),
|
||||
new ColumnDfn(4,"Tee",0,-9,false,32),
|
||||
new ColumnDfn(4,"HolesCaption",0,-9,false,200),
|
||||
new ColumnDfn(4,"Tee",0,-9,false,200),
|
||||
new ColumnDfn(4,"Gender",0,-9,false,32),
|
||||
new ColumnDfn(4,"SlopeRating",3,5,false,5),
|
||||
new ColumnDfn(4,"Par",3,5,false,5),
|
||||
|
||||
@@ -6,7 +6,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:17
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Base.App
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:16
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Net.Standard.Dbas.Internal.Core
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:16
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Net.Standard.Dbas.Internal.Core
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:16
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Net.Standard.Dbas.Internal.Core
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:16
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Net.Standard.Dbas.Internal.Core
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:16
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Net.Standard.Dbas.Internal.Core
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:16
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Net.Standard.Dbas.Internal.Core
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:16
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Net.Standard.Dbas.Internal.Core
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:16
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Net.Standard.Dbas.Internal.Core
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:16
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Net.Standard.Dbas.Internal.Core
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:16
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Net.Standard.Dbas.Internal.Core
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:16
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Net.Standard.Dbas.Internal.Core
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:16
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Net.Standard.Dbas.Internal.Core
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:16
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Net.Standard.Dbas.Internal.Core
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:16
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Net.Standard.Dbas.Internal.Core
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:16
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Net.Standard.Dbas.Internal.Core
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:16
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Net.Standard.Dbas.Internal.Core
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:16
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Net.Standard.Dbas.Internal.Core
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:16
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Net.Standard.Dbas.Internal.Core
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:16
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Net.Standard.Dbas.Internal.Core
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:16
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Net.Standard.Dbas.Internal.Core
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:16
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Net.Standard.Dbas.Internal.Core
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:16
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Net.Standard.Dbas.Internal.Core
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:17
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Net.Standard.Dbas.Internal.Reference
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:17
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Net.Standard.Dbas.Internal.Reference
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:17
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Net.Standard.Dbas.Internal.Reference
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:17
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Net.Standard.Dbas.Internal.Reference
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:17
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Net.Standard.Dbas.Internal.Reference
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:17
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Net.Standard.Dbas.Internal.Support
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Data.Common;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Tue 6-Aug-2024 14:50:13
|
||||
// Code generated by Sarand Database Utilities Thu 22-Aug-2024 18:00:17
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Net.Standard.Dbas.Internal.Support
|
||||
{
|
||||
|
||||
@@ -313,7 +313,7 @@ namespace Saxonite.Net.Standard.Dbas.Mgr.Reference
|
||||
SaLogger.Warn(SysUtil.Fn + " " + ExceptionUtil.GetLogMessage(exc, " executing bulk USGA Country update"));
|
||||
}
|
||||
}
|
||||
return HasErrorState();
|
||||
return !HasErrorState();
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
|
||||
@@ -368,7 +368,7 @@ namespace Saxonite.Net.Standard.Dbas.Mgr.Reference
|
||||
SaLogger.Warn(SysUtil.Fn + " " + ExceptionUtil.GetLogMessage(exc, " executing bulk USGA Course update"));
|
||||
}
|
||||
}
|
||||
return HasErrorState();
|
||||
return !HasErrorState();
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
|
||||
@@ -349,7 +349,7 @@ namespace Saxonite.Net.Standard.Dbas.Mgr.Reference
|
||||
SaLogger.Warn(SysUtil.Fn + " " + ExceptionUtil.GetLogMessage(exc, " executing bulk USGA Facility update"));
|
||||
}
|
||||
}
|
||||
return HasErrorState();
|
||||
return !HasErrorState();
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
|
||||
@@ -362,7 +362,7 @@ namespace Saxonite.Net.Standard.Dbas.Mgr.Reference
|
||||
SaLogger.Warn(SysUtil.Fn + " " + ExceptionUtil.GetLogMessage(exc, " executing bulk USGA Marker update"));
|
||||
}
|
||||
}
|
||||
return HasErrorState();
|
||||
return !HasErrorState();
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
|
||||
@@ -321,7 +321,7 @@ namespace Saxonite.Net.Standard.Dbas.Mgr.Reference
|
||||
SaLogger.Warn(SysUtil.Fn + " " + ExceptionUtil.GetLogMessage(exc, " executing bulk USGA Province update"));
|
||||
}
|
||||
}
|
||||
return HasErrorState();
|
||||
return !HasErrorState();
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
|
||||
@@ -477,7 +477,7 @@
|
||||
<Clustered>false</Clustered>
|
||||
<Nullable>false</Nullable>
|
||||
<Pages>1</Pages>
|
||||
<UniqueValues>30</UniqueValues>
|
||||
<UniqueValues>42</UniqueValues>
|
||||
<HasColumns>false</HasColumns>
|
||||
<Columns>
|
||||
<DbDfnIndexColumn>
|
||||
@@ -3574,7 +3574,7 @@
|
||||
<Clustered>false</Clustered>
|
||||
<Nullable>false</Nullable>
|
||||
<Pages>1</Pages>
|
||||
<UniqueValues>8</UniqueValues>
|
||||
<UniqueValues>20</UniqueValues>
|
||||
<HasColumns>false</HasColumns>
|
||||
<Columns>
|
||||
<DbDfnIndexColumn>
|
||||
@@ -5784,7 +5784,7 @@
|
||||
<Clustered>false</Clustered>
|
||||
<Nullable>false</Nullable>
|
||||
<Pages>1</Pages>
|
||||
<UniqueValues>43</UniqueValues>
|
||||
<UniqueValues>55</UniqueValues>
|
||||
<HasColumns>false</HasColumns>
|
||||
<Columns>
|
||||
<DbDfnIndexColumn>
|
||||
|
||||
@@ -746,8 +746,8 @@
|
||||
<Primary>false</Primary>
|
||||
<Clustered>false</Clustered>
|
||||
<Nullable>false</Nullable>
|
||||
<Pages>67</Pages>
|
||||
<UniqueValues>623</UniqueValues>
|
||||
<Pages>69</Pages>
|
||||
<UniqueValues>687</UniqueValues>
|
||||
<HasColumns>false</HasColumns>
|
||||
<Columns>
|
||||
<DbDfnIndexColumn>
|
||||
@@ -1172,8 +1172,8 @@
|
||||
<Primary>false</Primary>
|
||||
<Clustered>false</Clustered>
|
||||
<Nullable>false</Nullable>
|
||||
<Pages>13</Pages>
|
||||
<UniqueValues>541</UniqueValues>
|
||||
<Pages>14</Pages>
|
||||
<UniqueValues>603</UniqueValues>
|
||||
<HasColumns>false</HasColumns>
|
||||
<Columns>
|
||||
<DbDfnIndexColumn>
|
||||
@@ -1325,8 +1325,8 @@
|
||||
<DataTypeNative>-9</DataTypeNative>
|
||||
<DataTypeNameNative>nvarchar</DataTypeNameNative>
|
||||
<IsIdentity>false</IsIdentity>
|
||||
<Size>32</Size>
|
||||
<BufferLen>64</BufferLen>
|
||||
<Size>200</Size>
|
||||
<BufferLen>400</BufferLen>
|
||||
<DecimalDigits>0</DecimalDigits>
|
||||
<Nullable>NoNulls</Nullable>
|
||||
<IsNullable>false</IsNullable>
|
||||
@@ -1342,8 +1342,8 @@
|
||||
<DataTypeNative>-9</DataTypeNative>
|
||||
<DataTypeNameNative>nvarchar</DataTypeNameNative>
|
||||
<IsIdentity>false</IsIdentity>
|
||||
<Size>32</Size>
|
||||
<BufferLen>64</BufferLen>
|
||||
<Size>200</Size>
|
||||
<BufferLen>400</BufferLen>
|
||||
<DecimalDigits>0</DecimalDigits>
|
||||
<Nullable>NoNulls</Nullable>
|
||||
<IsNullable>false</IsNullable>
|
||||
@@ -1899,8 +1899,8 @@
|
||||
<Primary>false</Primary>
|
||||
<Clustered>false</Clustered>
|
||||
<Nullable>false</Nullable>
|
||||
<Pages>15</Pages>
|
||||
<UniqueValues>976</UniqueValues>
|
||||
<Pages>16</Pages>
|
||||
<UniqueValues>1061</UniqueValues>
|
||||
<HasColumns>false</HasColumns>
|
||||
<Columns>
|
||||
<DbDfnIndexColumn>
|
||||
|
||||
@@ -196,7 +196,7 @@ namespace Saxonite.Web.Api.App
|
||||
// USGA Provinces.
|
||||
SaxGolfUsgaDataLookup.Config courseLookupConfig = new SaxGolfUsgaDataLookup.Config(SessionContext, dbUpdateInfo);
|
||||
SaxGolfUsgaDataLookup courseLookup = new SaxGolfUsgaDataLookup(courseLookupConfig);
|
||||
List<SaxGolfUsgaDataLookup.ProvinceData> provinces = courseLookup.LookupUsgaProvincesForCountry("USA");
|
||||
List<SaxGolfUsgaDataLookup.ProvinceData> provinces = courseLookup.LookupUsgaProvincesForCountry("AUS");
|
||||
SaLogger.Warn($"{SysUtil.Fn} Province lookup - found: {provinces.Count}");
|
||||
if (courseLookup.HasErrorMessage())
|
||||
SaLogger.Warn($"{SysUtil.Fn} Province lookup error: {courseLookup.GetErrorMessage()}");
|
||||
@@ -210,7 +210,7 @@ namespace Saxonite.Web.Api.App
|
||||
// USGA Courses.
|
||||
SaxGolfUsgaDataLookup.Config courseLookupConfig = new SaxGolfUsgaDataLookup.Config(SessionContext, dbUpdateInfo);
|
||||
SaxGolfUsgaDataLookup courseLookup = new SaxGolfUsgaDataLookup(courseLookupConfig);
|
||||
List<SaxGolfUsgaDataLookup.CourseData> courses = courseLookup.LookupUsgaCoursesForCountryAndProvince("USA", "US-VI");
|
||||
List<SaxGolfUsgaDataLookup.CourseData> courses = courseLookup.LookupUsgaCoursesForCountryAndProvince("AUS", "AU-TAS");
|
||||
SaLogger.Warn($"{SysUtil.Fn} Course lookup - found: {courses.Count}");
|
||||
if (courseLookup.HasErrorMessage())
|
||||
SaLogger.Warn($"{SysUtil.Fn} Course lookup error: {courseLookup.GetErrorMessage()}");
|
||||
@@ -219,12 +219,12 @@ namespace Saxonite.Web.Api.App
|
||||
}
|
||||
}
|
||||
|
||||
if (false)
|
||||
if (true)
|
||||
{
|
||||
// USGA Markers.
|
||||
SaxGolfUsgaDataLookup.Config courseLookupConfig = new SaxGolfUsgaDataLookup.Config(SessionContext, dbUpdateInfo);
|
||||
SaxGolfUsgaDataLookup courseLookup = new SaxGolfUsgaDataLookup(courseLookupConfig);
|
||||
List<SaxGolfUsgaDataLookup.MarkerData> markers = courseLookup.LookupUsgaMarkersForCourse(new SysId(22185));
|
||||
List<SaxGolfUsgaDataLookup.MarkerData> markers = courseLookup.LookupUsgaMarkersForCourse(new SysId(24579));
|
||||
SaLogger.Warn($"{SysUtil.Fn} Marker lookup - found: {markers.Count}");
|
||||
if (courseLookup.HasErrorMessage())
|
||||
SaLogger.Warn($"{SysUtil.Fn} Marker lookup error: {courseLookup.GetErrorMessage()}");
|
||||
|
||||
Reference in New Issue
Block a user