SpatialSchemaXY xy = new SpatialSchemaXY();
xy.XColumn = "LONGITUDE";
xy.YColumn = "LATITUDE";
xy.StyleType = MapInfo.Data.StyleType.None;
xy.DefaultStyle = new MapInfo.Styles.CompositeStyle();
xy.CoordSys = MapInfo.Engine.Session.Current.CoordSysFactory.CreateLongLat(MapInfo.Geometry.DatumID.WGS84);
TableInfoServer ti = new TableInfoServer("TEST");
ti.ConnectString = "SRVR=JKORASVR;UID=nms_mis;PWD=designer";
ti.Query = "Select * From TEST";
ti.SpatialSchema = xy;
ti.Toolkit = ServerToolkit.Oci;
ti.CacheSettings.CacheType = CacheOption.Off;
MapInfo.Data.Table tbl = MapInfo.Engine.Session.Current.Catalog.OpenTable(ti);
map.Layers.Add(new FeatureLayer(tbl));