/// <inheritdoc/> public void AddAttributeMapper(IEnumerable <Type> types) { if (IsConnected) { foreach (var t in types) { _storageContext.AddAttributeMapper(t); } } }
private async Task AddMapperAsync(Type type) { if (!_mappedTypes.Contains(type.FullName)) { _storageContext.AddAttributeMapper(type); await _storageContext.CreateTableAsync(type, true); _mappedTypes.Add(type.FullName); } }