Esempio n. 1
0
 internal void Setup(AllorsExtentFilteredSql extent, AllorsExtentStatementSql statement)
 {
     statement.UseRole(this.roleType);
     if (this.subSorter != null)
     {
         this.subSorter.Setup(extent, statement);
     }
 }
        internal override bool BuildWhere(AllorsExtentFilteredSql extent, Mapping mapping, AllorsExtentStatementSql statement, IObjectType type, string alias)
        {
            AllorsExtentStatementSql inStatement = statement.CreateChild(inExtent, association);

            inStatement.UseRole(association.RoleType);

            statement.Append(" (" + association.SingularFullName + "_A." + Mapping.ColumnNameForRole + " IS NOT NULL AND ");
            statement.Append(" " + association.SingularFullName + "_A." + Mapping.ColumnNameForRole + " IN (\n");
            inExtent.BuildSql(inStatement);
            statement.Append(" ))\n");
            return(Include);
        }
Esempio n. 3
0
 internal override void Setup(AllorsExtentFilteredSql extent, AllorsExtentStatementSql statement)
 {
     statement.UseRole(this.role);
 }
Esempio n. 4
0
 internal override void Setup(AllorsExtentFilteredSql extent, AllorsExtentStatementSql statement)
 {
     statement.UseRole(this.roleType);
 }
Esempio n. 5
0
 internal void Setup(AllorsExtentFilteredSql extent, AllorsExtentStatementSql statement)
 {
     statement.UseRole(this.roleType);
     if (this.subSorter != null)
     {
         this.subSorter.Setup(extent, statement);
     }
 }
Esempio n. 6
0
 internal override void Setup(AllorsExtentFilteredSql extent, AllorsExtentStatementSql statement)
 {
     statement.UseRole(role);
     statement.UseRole(first);
     statement.UseRole(second);
 }
 internal override void Setup(AllorsExtentFilteredSql extent, AllorsExtentStatementSql statement)
 {
     statement.UseRole(role);
     statement.UseRole(first);
     statement.UseRole(second);
 }