Beispiel #1
0
 public static Datatable GetTable(Workspace.Workspace ws, Layer layer)
 {
     LsMap.Data.Datasource ds = ws.GetDatasource(layer.DatasourceName);
     if (ds != null)
     {
         LsMap.Data.Datatable dt = ws.GetDatatable(ds, layer.DatatableName);
         return(dt);
     }
     return(null);
 }
Beispiel #2
0
 public Layer(LsMap.Data.Datasource datasource, LsMap.Data.Datatable datatable)
 {
     _datasource = datasource;
     _datatable  = datatable;
     _layerID    = ++LAYERID;
 }