Associations
This commit is contained in:
@@ -4,6 +4,7 @@ using Sarand.BusinessMgr.Net.Standard.Base.Mgr;
|
||||
using Sarand.BusinessMgr.Net.Standard.Dbas.Data;
|
||||
using Sarand.Net.Standard.Base.Dbas;
|
||||
using Sarand.Net.Standard.Dbas.Base;
|
||||
using System;
|
||||
|
||||
namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
{
|
||||
@@ -42,6 +43,15 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
|
||||
return true;
|
||||
}
|
||||
|
||||
public override bool ColumnExists(SbmDbDfn.ColumnIdx columnIdx)
|
||||
{
|
||||
SbmDbDfn.TableIdx tableIdx = SbmDbDfn.GetTableForColumn(columnIdx);
|
||||
String schemaName = SbmDbDfn.GetSchemaName(tableIdx, false);
|
||||
String tableName = SbmDbDfn.GetTableName(tableIdx, false);
|
||||
String columnName = SbmDbDfn.GetColumnName(columnIdx, false);
|
||||
return DbInfo.ColumnExists(schemaName, tableName, columnName);
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
}
|
||||
//=======================================================================
|
||||
|
||||
Reference in New Issue
Block a user