using Comal.Classes; using InABox.Core; using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Text; namespace Comal.Classes { public class DataEntryTagDistributionUnionGenerator : AutoEntityUnionGenerator { protected override void Configure() { AddTable(); AddTable(); } public override bool Distinct => true; public override Column[] IDColumns { get; } = new Column[] { new Column(x => x.Employee.ID), new Column(x => x.Tag.ID) }; } [AutoEntity(typeof(DataEntryTagDistributionUnionGenerator))] public class DataEntryTagDistributionEmployee : Entity, IRemotable, IPersistent, IDataEntryTagDistributionEmployee, ILicense { public EmployeeLink Employee { get; set; } public DataEntryTagLink Tag { get; set; } } }