/// <summary>
 /// Instructs the builder to use the specified synonym for a node in the relational code.
 /// (For example, a base table can be used as a synonym of a view.)
 /// </summary>
 /// <typeparam name="T">The type of a node.</typeparam>
 /// <param name="node">A node whose synonym is to be used.</param>
 /// <param name="synonym">A synonym of a node.</param>
 public static DbTable <T> UseAs <T>(this DbTable <T> node, ITable synonym)
     where T : DbRow
 {
     node.CheckNullAndThrow("node", Text.Method.UseAs);
     synonym.CheckNullAndThrow("synonym", Text.Method.UseAs);
     ((DbNode)node).Synonym = (DbNode)synonym;
     return(node);
 }