Quantcast
Channel: EntityFramework Reverse POCO Code First Generator
Viewing all articles
Browse latest Browse all 1642

Commented Unassigned: Context.Configuration parameters [92]

$
0
0
The following context parameters should be added to the .tt setting.

- context.Configuration.AutoDetectChangesEnabled = true | false
- context.Configuration.ProxyCreationEnabled = true | false
- context.Configuration.LazyLoadingEnabled = true | fals
Comments: Here is a complete example: ``` public partial class MyDbContext { partial void InitializePartial() { Configuration.AutoDetectChangesEnabled = true; Configuration.ProxyCreationEnabled = true; Configuration.LazyLoadingEnabled = true; } } ```

Viewing all articles
Browse latest Browse all 1642

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>