Ycd.SuperFrame 1.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Ycd.SuperFrame --version 1.0.2                
NuGet\Install-Package Ycd.SuperFrame -Version 1.0.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Ycd.SuperFrame" Version="1.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Ycd.SuperFrame --version 1.0.2                
#r "nuget: Ycd.SuperFrame, 1.0.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Ycd.SuperFrame as a Cake Addin
#addin nuget:?package=Ycd.SuperFrame&version=1.0.2

// Install Ycd.SuperFrame as a Cake Tool
#tool nuget:?package=Ycd.SuperFrame&version=1.0.2                

对超图的一些地图加载、数据加载等功能进行封装,对数据集进行单例化管理。规范项目开发

1、工作空间如何打开,配置类对外开放

WorkspaceConfig config = new WorkspaceConfig();

MapStore.Instance.InitWorkSpace(config); //初始化打开工作空间

MapStore.Instance.BindWorkspace(ucMap1.MapControl); //绑定控件

MapStore.Instance.AddDatasource("testDatasource", MapStore.Instance.Workspace.Datasources["testDatasource"]);//添加到数据集管理字典里方便调用

Datasource d = MapStore.Instance.GetDatasource("testDatasource"); //获取相关数据源示例,单例模式

2、代码示例 //获取数据源,这个根据项目实际情况得到该信息 Datasource d //第一种方式,查询得到相应的字典集列表数据

List<Dictionary<string, object>> data = RecordsetHelper.GetDataRecord( d, "select a.* from New_Point a ");

//第二种方式,查询返回对应的实体数据,先定义与表相同的实体信息

List<NewPoint> dataList=RecordsetHelper.GetDataRecord<NewPoint>(d, "select a.* from New_Point a ");

Product Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.6 106 6/27/2024
1.0.5 107 6/27/2024
1.0.4 105 6/27/2024
1.0.3 102 6/26/2024
1.0.2 106 6/26/2024 1.0.2 is deprecated because it has critical bugs.
1.0.1 113 6/14/2024
1.0.0 94 6/14/2024