public NamePostProcessor(SqlDialect dialect, NameTransformerFactory transformerFactory, ITableNameAbbreviator tableAbbreviator, ProjectSettings settings) { if (transformerFactory == null) { throw new ArgumentNullException("transformerFactory"); } if (tableAbbreviator == null) { throw new ArgumentNullException("tableAbbreviator"); } transfactory = transformerFactory; this.tableAbbreviator = tableAbbreviator; this.settings = settings; this.dialect = dialect; }
/// <summary> /// Initializes a new instance of the <see cref="DataModelGenerator"/> class. /// </summary> /// <param name="schemaDescriptor">The schema descriptor.</param> /// <param name="transformerFactory">The transformer factory.</param> /// <param name="tableAbbreviator">The table abbreviator.</param> public DataModelGenerator(ISchemaDescriptor schemaDescriptor, NameTransformerFactory transformerFactory, ITableNameAbbreviator tableAbbreviator) { this.schemaDescriptor = schemaDescriptor; transfactory = transformerFactory; this.tableAbbreviator = tableAbbreviator; }