The generator is setup so you can add whatever attribute you need to your classes. See WritePocoClassAttributes.
For example:
For example:
AdditionalNamespaces = new[] { "System", "System.ComponentModel.DataAnnotations" };
Action<Table> WritePocoClassAttributes = t =>
{
WriteLine(" [MetadataType(typeof(" + t.ClassName + "Metadata))]");
};
You would then have to add the <class>Metadata classes to your project separately.