private QueryAdapter(string name) { this.Name = name; _dbType = SqlContext.GetDbType(); _dataIsComplete = false; }
/// <summary> /// 代理构建 /// </summary> /// <param name="connName"></param> /// <param name="param"></param> /// <returns></returns> private string AgentBuild(DynamicData param, DataTable table) { var agent = SqlContext.GetAgent(); return(agent.Build(this, param, table)); }
public NotSupportDatabaseException(string operation) : this(operation, SqlContext.GetDbType()) { }
public static string GetConnectionString(string connName) { var provider = SqlContext.GetConnectionProvider(); return(provider.GetConnectionString(connName)); }