using System; using System.Collections.Generic; using System.Linq.Expressions; namespace InABox.Core { public interface ICoreRow { object? this[string columnName] { get; set; } int Index { get; } CoreTable Table { get; } List Values { get; } T Get(string columnname, bool usedefault = true); TType Get(Expression> expression, bool usedefault = true); void Set(string columnname, T value); void Set(Expression> expression, TType value); Dictionary ToDictionary(string[] exclude); BaseObject ToObject(Type t); T ToObject() where T : BaseObject, new(); } }