using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace Kean.Infrastructure.Database
{
///
/// 表示对数据库对象的操作
///
/// 数据库对象映射的实体类型
public interface ISchema
where T : IEntity
{
///
/// 生成 Sql 查询
///
/// 投影表达式
/// Sql 查询
Query Query(Expression> expression);
///
/// 插入新记录
///
/// 实体对象
Task