|
@@ -29,7 +29,7 @@ namespace InABox.Core
|
|
//private List<Tuple<String,Type>> _lookuptables = new List<Tuple<String,Type>>();
|
|
//private List<Tuple<String,Type>> _lookuptables = new List<Tuple<String,Type>>();
|
|
private readonly List<Tuple<Type, string, bool>> _childtables = new List<Tuple<Type, string, bool>>();
|
|
private readonly List<Tuple<Type, string, bool>> _childtables = new List<Tuple<Type, string, bool>>();
|
|
|
|
|
|
- public AutoDataModel(Filter<T> filter, Columns<T>? columns, SortOrder<T>? sort) : base(filter, columns, sort)
|
|
|
|
|
|
+ public AutoDataModel(Filter<T>? filter, Columns<T>? columns, SortOrder<T>? sort) : base(filter, columns, sort)
|
|
{
|
|
{
|
|
//var props = CoreUtils.PropertyList(typeof(T), x => x.PropertyType.GetInterfaces().Contains(typeof(IEntityLink)));
|
|
//var props = CoreUtils.PropertyList(typeof(T), x => x.PropertyType.GetInterfaces().Contains(typeof(IEntityLink)));
|
|
//foreach (var prop in props)
|
|
//foreach (var prop in props)
|
|
@@ -171,7 +171,7 @@ namespace InABox.Core
|
|
new object?[] { manyToMany1.Item2, manyToMany1.Item3, null, null, false, manyToMany1.Item4, manyToMany1.Item5 });
|
|
new object?[] { manyToMany1.Item2, manyToMany1.Item3, null, null, false, manyToMany1.Item4, manyToMany1.Item5 });
|
|
}
|
|
}
|
|
|
|
|
|
- public AutoDataModel(Filter<T> filter): this(filter, null, null) { }
|
|
|
|
|
|
+ public AutoDataModel(Filter<T>? filter): this(filter, null, null) { }
|
|
|
|
|
|
public override string Name => typeof(T).EntityName().Split('.').Last();
|
|
public override string Name => typeof(T).EntityName().Split('.').Last();
|
|
|
|
|