Closed qz2rg4 closed 10 years ago
It should place the .generated.cs files in ~/App_Data/Models - and then place a builder.models file in ~/App_Code - this is because we do not want to restart the app while generating the models. So we can write the models .generated.cs files and then touch builder.models file, which triggers compilation of all models at once. Making sense?
Shot man . Make sence.
From: Stephan [mailto:notifications@github.com] Sent: 30 October 2014 11:14 AM To: zpqrtbnk/Zbu.ModelsBuilder Cc: Anton Oosthuizen Subject: Re: [Zbu.ModelsBuilder] AppCode vs AppData (#20)
It should place the .generated.cs files in ~/App_Data/Models - and then place a builder.models file in ~/App_Code - this is because we do not want to restart the app while generating the models. So we can write the models .generated.cs files and then touch builder.models file, which triggers compilation of all models at once. Making sense?
— Reply to this email directly or view it on GitHubhttps://github.com/zpqrtbnk/Zbu.ModelsBuilder/issues/20#issuecomment-61063105.
Good Morning
I have set up my web config to have the following add key="Zbu.ModelsBuilder.EnableAppCodeModels" value="true" add key="Zbu.ModelsBuilder.EnableAppDataModels " value="false"
add key="Zbu.ModelsBuilder.ModelsNamespace" value="MyModels"
But when I run the models builder it places the generated.cs files in the AppData folder
Is this correct ?