예제 #1
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="RelationalCompiledQueryCacheKeyGenerator" /> class.
 /// </summary>
 /// <param name="dependencies">Parameter object containing dependencies for this service.</param>
 /// <param name="relationalDependencies">Parameter object containing relational dependencies for this service.</param>
 public RelationalCompiledQueryCacheKeyGenerator(
     CompiledQueryCacheKeyGeneratorDependencies dependencies,
     RelationalCompiledQueryCacheKeyGeneratorDependencies relationalDependencies)
     : base(dependencies)
 {
     RelationalDependencies = relationalDependencies;
 }
        /// <summary>
        ///     This API supports the Entity Framework Core infrastructure and is not intended to be used
        ///     directly from your code. This API may change or be removed in future releases.
        /// </summary>
        /// <param name="dependencies"> Parameter object containing dependencies for this service. </param>
        /// <param name="relationalDependencies"> Parameter object containing relational dependencies for this service. </param>
        public RelationalCompiledQueryCacheKeyGenerator(
            [NotNull] CompiledQueryCacheKeyGeneratorDependencies dependencies,
            [NotNull] RelationalCompiledQueryCacheKeyGeneratorDependencies relationalDependencies)
            : base(dependencies)
        {
            Check.NotNull(relationalDependencies, nameof(relationalDependencies));

            RelationalDependencies = relationalDependencies;
        }