public SqlStatement(SqlSelectClause sqlSelectClause, Type parentType, Type childType) { this.m_SqlSelectClause = sqlSelectClause; this.m_SqlFromClause = new SqlFromClause(childType); this.m_SqlWhereClause = new SqlWhereClause(parentType, childType); this.m_SqlForXMLClause = new SqlForXMLClause(childType); }
public SqlStatement(SqlParameterClause sqlParameterClause, SqlSelectClause sqlSelectClause, Type type) { this.m_SqlParameterClause = sqlParameterClause; this.m_SqlSelectClause = sqlSelectClause; this.m_SqlFromClause = new SqlFromClause(type); this.m_SqlWhereClause = new SqlWhereClause(type); this.m_SqlForXMLClause = new SqlForXMLClause(type); }