/// <summary> /// Gets the table information by model type. /// </summary> /// <param name="modelType">Type of the model.</param> /// <returns> /// Database table info for model. /// </returns> public TableInfo GetTableInfo(Type modelType) => _tablesInfoCache.Get(modelType, () => _modelMapper.GetTableInfo(modelType));