|
13 | 13 | Settings.DatabaseType = DatabaseType.SqlCe; // SqlServer, SqlCe, PostgreSQL. Coming next: MySql, Oracle |
14 | 14 | Settings.TemplateType = TemplateType.EfCore7; // EfCore7, EfCore6, EfCore5, EfCore3, EfCore2, Ef6, FileBasedCore2-7. FileBased specify folder using Settings.TemplateFolder |
15 | 15 | Settings.GeneratorType = GeneratorType.EfCore; // EfCore, Ef6, Custom. Custom edit GeneratorCustom class to provide your own implementation |
16 | | - Settings.UseMappingTables = false; // Must be false for TemplateType.EfCore2 & 3. If true, mapping will be used and no mapping tables will be generated. If false, all tables will be generated. |
| 16 | + Settings.UseMappingTables = false; // Must be false for TemplateType.EfCore2-4. If true, mapping will be used, and no mapping tables will be generated. If false, all tables will be generated. |
17 | 17 | Settings.FileManagerType = FileManagerType.EfCore; // .NET Core project = EfCore; .NET 4.x project = VisualStudio; No output (testing only) = Null |
18 | 18 | Settings.ConnectionString = @"Data Source=C:\S\Source (open source)\EntityFramework Reverse POCO Code Generator\EntityFramework.Reverse.POCO.Generator\App_Data\NorthwindSqlCe40.sdf"; |
19 | 19 | Settings.ConnectionStringName = "MyDbContextSqlCE4"; // ConnectionString key as specified in your app.config/web.config/appsettings.json. Not used by the generator, but is placed into the generated DbContext constructor. |
|
80 | 80 | Settings.AddParameterlessConstructorToDbContext = true; // EF6 only. If true, then DbContext will have a default (parameter-less) constructor which automatically passes in the connection string name, if false then no parameter-less constructor will be created. |
81 | 81 | Settings.ConfigurationClassName = "Configuration"; // Configuration, Mapping, Map, etc. This is appended to the Poco class name to configure the mappings. |
82 | 82 | Settings.DatabaseReaderPlugin = ""; // Eg, "c:\\Path\\YourDatabaseReader.dll,Full.Name.Of.Class.Including.Namespace". See #501. This will allow you to specify a pluggable provider for reading your database. |
83 | | - Settings.UseMappingTables = false; // Must be false for TemplateType.EfCore2 & 3+. If true, mapping will be used and no mapping tables will be generated. If false, all tables will be generated. |
| 83 | + Settings.UseMappingTables = false; // Must be false for TemplateType.EfCore2-4. If true, mapping will be used, and no mapping tables will be generated. If false, all tables will be generated. |
84 | 84 |
|
85 | 85 | Settings.EntityClassesModifiers = "public"; // "public partial"; |
86 | 86 | Settings.ConfigurationClassesModifiers = "public"; // "public partial"; |
|
0 commit comments