Exemplo n.º 1
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="RelationalDatabase" /> class.
 /// </summary>
 /// <param name="dependencies">Parameter object containing dependencies for the base of this service.</param>
 /// <param name="relationalDependencies">Parameter object containing relational dependencies for this service.</param>
 public RelationalDatabase(
     DatabaseDependencies dependencies,
     RelationalDatabaseDependencies relationalDependencies)
     : base(dependencies)
 {
     RelationalDependencies = relationalDependencies;
 }
Exemplo n.º 2
0
        /// <summary>
        ///     Initializes a new instance of the <see cref="RelationalDatabase" /> class.
        /// </summary>
        /// <param name="dependencies"> Parameter object containing dependencies for the base of this service. </param>
        /// <param name="relationalDependencies"> Parameter object containing relational dependencies for this service. </param>
        public RelationalDatabase(
            [NotNull] DatabaseDependencies dependencies,
            [NotNull] RelationalDatabaseDependencies relationalDependencies)
            : base(dependencies)
        {
            Check.NotNull(relationalDependencies, nameof(relationalDependencies));

            RelationalDependencies = relationalDependencies;
        }
Exemplo n.º 3
0
        /// <summary>
        ///     Initializes a new instance of the <see cref="Database" /> class.
        /// </summary>
        /// <param name="dependencies"> Parameter object containing dependencies for this service. </param>
        protected Database([NotNull] DatabaseDependencies dependencies)
        {
            Check.NotNull(dependencies, nameof(dependencies));

            Dependencies = dependencies;
        }
Exemplo n.º 4
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="Database" /> class.
 /// </summary>
 /// <param name="dependencies">Parameter object containing dependencies for this service.</param>
 protected Database(DatabaseDependencies dependencies)
 {
     Dependencies = dependencies;
 }