public CodedDataValue(string value, string tableId, IDataTableProvider tables = null) { this.tableProvider = tables; this.tableId = tableId; this.Value = value; this.table = TableProvider.GetCodeTable(tableId); }
protected void LinkTable() { if (table == null) { this.table = TableProvider.GetCodeTable(tableId); } if (!string.IsNullOrWhiteSpace(tableId) && table != null) { TableProvider.AddCodeTable(tableId, table); } }