Exemplo n.º 1
0
 /// <summary>
 /// Creates an instance using the given <see cref="ProBase.Generation.Method.ICollectionGenerator"/> for generating the parameter array.
 /// </summary>
 /// <param name="arrayGenerator">The array generator to use</param>
 /// <param name="procedureCallGenerator">The generator used for generating the procedure call</param>
 public DbMethodGenerator(ICollectionGenerator arrayGenerator, IMethodCallGenerator procedureCallGenerator)
 {
     this.arrayGenerator         = arrayGenerator;
     this.procedureCallGenerator = procedureCallGenerator;
 }
Exemplo n.º 2
0
 public void InjectDependency(IMethodCallGenerator dependency)
 {
     _methodCallGenerator = dependency;
 }