private QueryX CreateQueryX(ViewX vx, Store st) { var qxNew = new QueryX(this, QueryType.View, true); ItemCreated.Record(Owner, qxNew); ItemLinked.Record(Owner, _relation_ViewX_QueryX, vx, qxNew); ItemLinked.Record(Owner, _relation_Store_QueryX, st, qxNew); return(qxNew); }
private QueryX CreateQueryX(ViewX vx, Relation re) { var qxNew = new QueryX(this, QueryType.View); ItemCreated.Record(Owner, qxNew); ItemLinked.Record(Owner, _relation_ViewX_QueryX, vx, qxNew); ItemLinked.Record(Owner, _relation_Relation_QueryX, re, qxNew); ClearParentTailFlags(qxNew); return(qxNew); }