using System; using APT.Infrastructure.Api; namespace APT.Infrastructure.EF { public class TenantOption { public TenantOption() { ConnectionType = ConnectionResolverType.ByDatabase; DbType = DbIntegrationType.Postgre; ConnectionName = "default"; ConnectionPrefix = ""; } public string Key { get; set; } public ConnectionResolverType ConnectionType { get; set; } public DbIntegrationType DbType { get; set; } public string ConnectionName { get; set; } public string ConnectionPrefix { get; set; } public Func TableNameFunc { get; set; } public Func SchemaFunc { get; set; } } }