protected internal DbContext(ContextProvider contextProvider, QueryOptions queryOptions, BulkOptions bulkOptions, ReadOptions readOptions) { this.ContextProvider = contextProvider; this.QueryOptions = queryOptions.Clone(); this.BulkOptions = bulkOptions.Clone(); this.ReadOptions = readOptions.Clone(); }
internal ReadOptions PrepareReadOptions(ReadOptions options) { if (options == null) { return(ReadOptions.Clone()); } var opt = options.Clone(); opt.SetDefaults(ReadOptions); return(opt); }