/// <summary> /// Registers mapping of a real type with metadata defined in another phantom type. /// <remarks>This could be useful when the model is public, however the mapping details need to be unknown to others.</remarks> /// </summary> /// <param name="realType">the real type to map</param> /// <param name="phantomType">the type which contains mapping definition</param> public void Phantom(Type realType, Type phantomType) { Table table = new Table(phantomType, NamingStrategy); table.Phantom(realType); SetTable(realType, table); }