public void Apply(IJoinedSubclassInstance instance) { string tableName = NameConventions.GetTableName(instance.EntityType); instance.Table(tableName); instance.BatchSize(25); }
private static string GetTableName(Type entityType, Type otherSideType) { return(NameConventions.GetTableName(entityType) + "_" + NameConventions.GetTableName(otherSideType)); }