Ejemplo n.º 1
0
 public void QueryScope_UnitTest()
 {
     ExecuteProperty(
         () =>
         // Create Test Instance
     {
         var instance = (IStoredQuery)GetInstance();
         return(instance);
     },
         // Create Set Value
         instance =>
     {
         IQueryScope setValue = default(IQueryScope);
         QueryScope_SetCondition(ref instance, ref setValue);
         return(setValue);
     },
         // Invoke Setter
         (instance, setValue) => { instance.QueryScope = setValue; },
         // Validate Set Operation
         (instance, setValue) => { },
         // Invoke Getter
         instance => { return(instance.QueryScope); },
         // Validate Get Operation
         (instance, setValue, getValue) => { });
 }
Ejemplo n.º 2
0
 public QueryDatabase(IRepositoryFactory repositoryFactory, IQueryScope scope)
 {
     this.repositoryFactory = repositoryFactory;
     this.scope             = scope;
 }
Ejemplo n.º 3
0
 public static QueryScope GetInstance(IQueryScope src)
 {
     return(default(QueryScope));
 }
Ejemplo n.º 4
0
 partial void QueryScope_SetCondition(ref IStoredQuery instance, ref IQueryScope setValue);