2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2026-06-13 14:38:43 +00:00
Files
esiur-dotnet/Libraries/Esiur/Data/Record.cs
T
2026-05-24 18:27:22 +03:00

22 lines
458 B
C#

using Esiur.Data.Types;
using System;
using System.Collections.Generic;
using System.Text;
namespace Esiur.Data;
public class Record : KeyList<string, object>, IRecord
{
public TypeDef TypeDef { get; private set; }
public Record(TypeDef typeDef)
{
TypeDef = typeDef;
}
public override string ToString()
{
return $"Record<{TypeDef.Name}> {{{string.Join(", ", this.Select(x=>x.Key + ": " + x.Value))}}}";
}
}