internal override void Visit(RefColumnMap columnMap, Dump dumper)
 {
     using (new Dump.AutoXml(dumper, "Ref", Dump.ColumnMapDumper.GetAttributes((ColumnMap)columnMap)))
     {
         using (new Dump.AutoXml(dumper, "entityIdentity"))
             this.VisitEntityIdentity(columnMap.EntityIdentity, dumper);
     }
 }
Exemple #2
0
 /// <summary>
 ///     RefColumnMap
 /// </summary>
 internal override void Visit(RefColumnMap columnMap, Dump dumper)
 {
     using (new AutoXml(dumper, "Ref", GetAttributes(columnMap)))
     {
         using (new AutoXml(dumper, "entityIdentity"))
         {
             VisitEntityIdentity(columnMap.EntityIdentity, dumper);
         }
     }
 }
Exemple #3
0
        /// <summary>
        ///     RefColumnMap
        /// </summary>
        /// <param name="columnMap"> </param>
        /// <param name="replacementVarMap"> </param>
        /// <returns> </returns>
        internal override ColumnMap Visit(RefColumnMap columnMap, VarMap replacementVarMap)
        {
            var newEntityIdentity = VisitEntityIdentity(columnMap.EntityIdentity, replacementVarMap);

            return(new RefColumnMap(columnMap.Type, columnMap.Name, newEntityIdentity));
        }
Exemple #4
0
        internal override ColumnMap Visit(RefColumnMap columnMap, VarMap replacementVarMap)
        {
            EntityIdentity entityIdentity = this.VisitEntityIdentity(columnMap.EntityIdentity, replacementVarMap);

            return((ColumnMap) new RefColumnMap(columnMap.Type, columnMap.Name, entityIdentity));
        }