I want to audit all tables in a database
I have used DI to audit all entities as below
I want to exclude some of the entities to be audited and there are many tables in the database and
I don't want to specify each entity one by one ,
so how can I exclude some of those entities from the audited list?
/// <summary>Example Auditor class which is usable on all entities in a project.</summary>
[DependencyInjectionInfo(typeof(IEntity), "AuditorToUse")]
[Serializable]
public class GeneralAuditor : AuditorBase
{
...
}
Is there an easy way using DI ?
Can you add more samples for the other 2 methods (other than DI)
Thank you