Jean,
Thanks for your post.
Actually, create your own shape file layer is not difficult by using our MapSuite framework, you can create a class and inherit FeatureSource, and then only need to do is implement GetAllFeaturesCore, you can following the steps I mentioned at the ticket which you created before to get each feature by each record in TeraDataBase.
For more information you can refer the aricle "Extending Map Suite: Integrating Custom Data Formats - 10/29/2008 " at
gis.thinkgeo.com/Products/GI...fault.aspx
Thanks,
James