public TableIdentifier(IEntityMetadata entity, string alias = null) { this.Entity = entity ?? throw new ArgumentNullException(nameof(entity)); this.Alias = alias; this.Name = EntityExtension.GetTableName(entity); }