@@ -102,6 +102,9 @@ data:
102102 directory : ' {Project.Directory}\Data\Mapping' # the mapping class output directory
103103 # include XML documentation
104104 document : false
105+
106+ temporal : false # if temporal table mapping is enabled. Default true
107+ rowVersion : ByteArray|Long|ULong # How row versions should be mapped. Default ByteArray
105108
106109 # query extension class file configuration
107110 query :
@@ -191,6 +194,7 @@ script:
191194 namespace : ' {Project.Namespace}.Domain.Context'
192195 baseClass : ContextScriptBase
193196 overwrite : true # overwrite existing file
197+ merge : true # merge regions with existing file
194198 # collection of script template with current Entity as a variable
195199 entity :
196200 - templatePath : ' .\templates\entity.csx' # path to script file
@@ -199,6 +203,7 @@ script:
199203 namespace : ' {Project.Namespace}.Domain.Entity'
200204 baseClass : EntityScriptBase
201205 overwrite : true # overwrite existing file
206+ merge : true # merge regions with existing file
202207 # collection script template with current Model as a variable
203208 model :
204209 - templatePath : ' .\templates\model.csx' # path to script file
@@ -207,10 +212,12 @@ script:
207212 namespace : ' {Project.Namespace}.Domain.Models'
208213 baseClass : ModelScriptBase
209214 overwrite : true # overwrite existing file
215+ merge : true # merge regions with existing file
210216 - templatePath : ' .\templates\sample.csx' # path to script file
211217 fileName : ' {Model.Name}Sample.cs' # filename to save script output
212218 directory : ' {Project.Directory}\Domain\Models' # directory to save script output
213219 namespace : ' {Project.Namespace}.Domain.Models'
214220 baseClass : ModelSampleBase
215221 overwrite : true # overwrite existing file
222+ merge : true # merge regions with existing file
216223` ` `
0 commit comments