Пример #1
0
        public AbstractQueryModel(R domain,
                                  IInteractiveQuery <R, S, T, U, V, W> interactive)
        {
            Domain = domain;

            _interactive = interactive;
        }
Пример #2
0
 private void ExecuteQuery(string querySpec)
 {
     try
     {
         IInteractiveQuery query = CompileQuery(querySpec, databasePath, modelAssembly);
         if (query != null)
         {
             query.Run();
         }
     }
     catch (Exception ex)
     {
         ConsoleHelper.With(ConsoleColor.White, ConsoleColor.Red, () => Console.WriteLine(ex.ToString()));
     }
 }
Пример #3
0
 public Sucursal(Business.Query.Sucursal domain,
                 IInteractiveQuery <Business.Query.Sucursal, Persistence.Query.Sucursal, Entities.Table.Sucursal, Persistence.Table.Sucursal, Business.Table.Sucursal, Presentation.Table.Sucursal> interactive)
     : base(domain,
            interactive)
 {
 }
Пример #4
0
 public Empresa(Business.Query.Empresa domain,
                IInteractiveQuery <Business.Query.Empresa, Persistence.Query.Empresa, Entities.Table.Empresa, Persistence.Table.Empresa, Business.Table.Empresa, Presentation.Table.Empresa> interactive)
     : base(domain,
            interactive)
 {
 }