![]() |
VOOZH | about |
dotnet add package MeshWeaver.DataStructures --version 2.5.0
NuGet\Install-Package MeshWeaver.DataStructures -Version 2.5.0
<PackageReference Include="MeshWeaver.DataStructures" Version="2.5.0" />
<PackageVersion Include="MeshWeaver.DataStructures" Version="2.5.0" />Directory.Packages.props
<PackageReference Include="MeshWeaver.DataStructures" />Project file
paket add MeshWeaver.DataStructures --version 2.5.0
#r "nuget: MeshWeaver.DataStructures, 2.5.0"
#:package MeshWeaver.DataStructures@2.5.0
#addin nuget:?package=MeshWeaver.DataStructures&version=2.5.0Install as a Cake Addin
#tool nuget:?package=MeshWeaver.DataStructures&version=2.5.0Install as a Cake Tool
MeshWeaver.DataStructures is a lightweight and efficient library for managing tabular data sets. It provides a streamlined alternative to ADO.NET DataSet with reduced overhead, improved performance, and lower memory consumption.
The library provides a robust framework for:
// Create a new dataset
var dataSet = new DataSet("MyDataSet");
// Add a table
var table = dataSet.Tables.Add("Employees");
// Define columns
table.Columns.Add("Id", typeof(int));
table.Columns.Add("Name", typeof(string));
table.Columns.Add("Salary", typeof(decimal));
// Add rows
var row = table.NewRow();
row["Id"] = 1;
row["Name"] = "John Doe";
row["Salary"] = 50000m;
table.Rows.Add(row);
// Access data by column name
foreach (var row in table.Rows)
{
var name = row["Name"].ToString();
var salary = row.Field<decimal>("Salary");
// Process data...
}
// Access data by column index
foreach (var row in table.Rows)
{
var id = row[0];
var name = row[1];
// Process data...
}
// JSON serialization
var jsonSerializer = DataSetJsonSerializer.Instance;
var json = jsonSerializer.Serialize(dataSet, indent: true);
// XML serialization
var xmlSerializer = DataSetXmlSerializer.Instance;
var xml = xmlSerializer.Serialize(dataSet);
// Convert from ADO.NET DataSet
var factory = new DataSetFactory();
var adoDataSet = GetAdoNetDataSet(); // Your ADO.NET DataSet
var dataSet = factory.ConvertFromAdoNet(adoDataSet);
// Convert to ADO.NET DataSet
var adoDataSet = factory.ConvertToAdoNet(dataSet);
The library integrates seamlessly with:
// Configure data services
services.AddMeshWeaverDataStructuresServices(options => {
options.ConnectionString = Configuration.GetConnectionString("DefaultConnection");
});
// Use data repositories
public class DataStructuresService
{
private readonly IDataStructuresRepository _repository;
public DataStructuresService(IDataStructuresRepository repository)
{
_repository = repository;
}
public async Task<DataStructures> GetByIdAsync(string id)
{
return await _repository.GetByIdAsync(id);
}
}
Refer to the for more information about the overall project.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 1 NuGet packages that depend on MeshWeaver.DataStructures:
| Package | Downloads |
|---|---|
|
MeshWeaver.DataSetReader
Package Description |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.0-preview1 | 132 | 4/16/2026 |
| 2.5.0 | 272 | 11/3/2025 |
| 2.4.0 | 243 | 10/2/2025 |
| 2.3.0 | 289 | 8/4/2025 |
| 2.2.0 | 567 | 7/21/2025 |
| 2.1.0 | 249 | 4/6/2025 |
| 2.0.3 | 593 | 3/24/2025 |
| 2.0.2 | 554 | 3/24/2025 |
| 2.0.1 | 214 | 3/21/2025 |
| 2.0.0 | 252 | 3/20/2025 |
| 2.0.0-preview3 | 197 | 2/28/2025 |
| 2.0.0-Preview2 | 226 | 2/10/2025 |
| 2.0.0-preview1 | 198 | 1/6/2025 |
| 1.0.1 | 231 | 10/8/2024 |
| 1.0.0 | 222 | 10/8/2024 |