示例#1
0
        public AbstractQueryModel(R domain,
                                  IInteractiveQuery <R, S, T, U, V, W> interactive)
        {
            Domain = domain;

            _interactive = interactive;
        }
示例#2
0
文件: Program.cs 项目: yuuhhe/db4o
 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
文件: Sucursal.cs 项目: jrivam/demo
 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)
 {
 }