| 123456789101112131415161718192021 | 
							- using System;
 
- namespace InABox.Core
 
- {
 
-     public interface IAutoEntityGenerator
 
-     {
 
-         bool Distinct { get; }
 
-         Type Definition { get; }
 
-         IColumn[] IDColumns { get; }
 
-     }
 
-     
 
-     public class AutoEntity : Attribute
 
-     {
 
-         public IAutoEntityGenerator? Generator { get; private set; }
 
-         
 
-         public AutoEntity(Type generator) : base()
 
-         {
 
-             Generator = Activator.CreateInstance(generator) as IAutoEntityGenerator;
 
-         }
 
-     }
 
- }
 
 
  |