Пример #1
0
 // <summary>
 // Copy Constructor
 // </summary>
 internal CellQuery(CellQuery source)
 {
     m_basicCellRelation = source.m_basicCellRelation;
     m_boolExprs = source.m_boolExprs;
     m_selectDistinct = source.m_selectDistinct;
     m_extentMemberPath = source.m_extentMemberPath;
     m_originalWhereClause = source.m_originalWhereClause;
     m_projectedSlots = source.m_projectedSlots;
     m_whereClause = source.m_whereClause;
 }
Пример #2
0
 internal void CreateBasicCellRelation(ViewCellRelation viewCellRelation)
 {
     var slots = GetAllQuerySlots();
     // Create a base cell relation that has all the scalar slots of this
     m_basicCellRelation = new BasicCellRelation(this, viewCellRelation, slots);
 }
Пример #3
0
 // effects: Generates the single-cell key+domain constraints for
 // baseRelation and adds them to constraints
 private static void PopulateBaseConstraints(
     BasicCellRelation baseRelation,
     BasicSchemaConstraints constraints)
 {
     // Populate key constraints
     baseRelation.PopulateKeyConstraints(constraints);
 }