BusinessMgr 3.0.1.9 Interfaces data model

This commit is contained in:
Andy Howard
2025-10-30 12:58:43 +00:00
parent 86b22db88b
commit e3cb2b26fe
35 changed files with 1355 additions and 1128 deletions
+15 -3
View File
@@ -1,8 +1,7 @@
using System;
using Sarand.Net.Standard.Base.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using Sarand.Net.Standard.Base.Core;
using Sarand.Net.Standard.Base.Utils;
namespace Sarand.Net.Standard.Base.Dbas
{
@@ -48,6 +47,18 @@ namespace Sarand.Net.Standard.Base.Dbas
return (this.Name.EqualsCI(name));
}
//-------------------------------------------------------------------
// Utilities.
public void ChangeTableName(String newName)
{
this.Name = newName;
foreach (DbDfnColumn columnDfn in Columns)
columnDfn.Table = newName;
foreach (DbDfnIndex indexDfn in Indices)
indexDfn.Table = newName;
}
//-------------------------------------------------------------------
// Columns.
public bool HasColumnByName(String columnName)
@@ -157,6 +168,7 @@ namespace Sarand.Net.Standard.Base.Dbas
//-------------------------------------------------------------------
}
//=======================================================================
// Table list extensions.
public static class DbDfnTableList