Пример #1
0
 public CodedDataValue(string value, string tableId, IDataTableProvider tables = null)
 {
     this.tableProvider = tables;
     this.tableId       = tableId;
     this.Value         = value;
     this.table         = TableProvider.GetCodeTable(tableId);
 }
Пример #2
0
 protected void LinkTable()
 {
     if (table == null)
     {
         this.table = TableProvider.GetCodeTable(tableId);
     }
     if (!string.IsNullOrWhiteSpace(tableId) && table != null)
     {
         TableProvider.AddCodeTable(tableId, table);
     }
 }